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
What is the use of servletconfig interface?
When a client request is sent to the servlet container, how does the container choose which servlet to invoke?
What is a servlet engine?
What are life cycle methods of a servlet?
What is the servlet?
What is the major difference between servlet and applet?
List the Different types of servlet?
What is servlet interface?
Explain the working of service() method of a servlet.
What's the advantages using servlets than using cgi?
What methods do you use in servlet - applet communication?
explain the advantages of servlet life cycle?
What is a generic servlet?
What is Servlets and explain the advantages of Servlet life cycle?
What is generic servlet class?