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

How to get the current httpsession object?

653


What are the advantages of servlets over traditional cgi?

628


What do you mean by filter in servlet?

538


What are Servlets?

596


What is the servlet?

620






Which java framework is most popular?

581


Can you use javascript in servlets?

602


How can I send user authentication information while making URL Connection?

546


What do you mean by servlet context?

603


What’s the difference between genericservlet and httpservlet?

532


How to notify an object in session when session is invalidated or timed-out?

630


What is http servlet?

584


How do you communicate in between Applets and Servlets?

597


How to rectify errors in java servlet while compilation?

521


What is difference between PrintWriter and ServletOutputStream?

770