What is the difference between JspWriter and PrintWriter

Answer Posted / sumitpalsingh

JspWriter class Object is used to print the value in Jsp Page. it is not the object of JspWriter abstarct class it is the object of the class that implements JspWriter i.e. Writer....
PrintWriter class Of java.io package create an objectthatis used in servlet to print the value on console.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is the methods of generated servlet?

869


Why the concept of single thread model interface is used?

718


Explain the methods of request dispatcher in servlet?

716


What is war file?

762


What is the importance of init() method in Servlet ?

791


If servlet receives multiple requests, how many objects will it create?

1047


What is cookie? Why is cookie used?

779


What is the structure of the http response

900


Difference between httpservlet and generic servlets?

806


Can a jsp be called using a servlet?

765


What are the steps that are required to handle the multi-threading?

828


How are filters?

792


What is the difference in between the httpservlet and generic servlet?

825


What are life cycle methods of a servlet?

768


What is meant by Servlet? What are the parameters of service method?

784