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 meant by a web application
How to make sure a servlet is loaded at the application startup?
What do you mean by web applications?
Which is better jsp or servlet?
What do you mean by cgi in servlet?
What are all the advantages of servlet over cgi?
What is servlet attributes and their scope?
The code in a finally clause will never fail to execute, right?
What is the use of request dispatcher interface?
Explain load on start-up and its importance?
Explain the jar and war files in servlet?
Explain request dispatcher and its methods.
When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?
What are the different methods involved in the process of session management in servlets?
When jsessionid is created?