What is the difference between JspWriter and PrintWriter
Answer Posted / toharpreet
Including basic differences also
1) Package Difference
One is in IO and other is in java x packages
JSPWriter - package javax.servlet.jsp;
PrintWriter - package java.io;
2) Type Differences
One is Abstract class other is class
public class PrintWriter extends Writer {
public abstract class JspWriter extends Writer {
Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
Describe some assignments that are executed by servlet container?
What is the capacity the doget can send to the server?
why we should override only no-agrs init() method.
What is the
How will two or three servlets interact or communicate with each other?
How does tomcat servlet container work?
How do I support both get and post from the same servlet?
What is the purpose of inter-servlet communication?
What are the types of an http request?
Why do we use sendredirect() method?
What must be implemented by all servlets?
What is webservlet?
Is servlet a framework?
Why is servlet used?
How servlet is created?