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 httpservlet class?
What is servlet container. how it works?
What is the difference between CGI and Servlet?
What are session variable in servlets?
What are the drawbacks of cgi?
What is load-on-startup in servlet?
What is servlet container?
What is http servlet?
Differentiate between the print writer and servlet output stream?
how to link html file to sevlet file.one name is textbox,c&c++ is cheakbox,bc&mca is radio button and one submit buttonis ok why in this programme use in servelt file
What is Request Dispatcher?
What are different Authentication options available in Servlets.
What is preinitialization of a servlet?
Define context initialization parameters.
Which event is fired at the time of project deployment and undeployment?