What is the difference between JspWriter and PrintWriter

Answer Posted / srinivaskumar.nimmana

JspWriter is abstract class emulates some of the functionality found in the java.io.BufferedWriter and java.io.PrintWriter classes, however it differs in that it throws java.io.IOException from the print methods while PrintWriter does not

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a simple servlet program to print the contents of html.

545


What are the two important api's in for servlets?

588


Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?

614


Which HTTP method is non-idempotent?

616


Servlet is pure java object or not?

719






How do you find out what client machine is making a request to your servlet

529


Which http method is said to be non-idempotent and idempotent?

604


Can you explain in detail 'javax.servlet' package?

545


what is multiple server?

1756


What are the advantages of cookies?

629


What if we pass negative value in load-on-startup?

798


How do you get the ip address of the client in servlet?

551


What is servlet collaboration?

661


How httpservlet is different from the genericservlet?

562


What are life cycle methods of a servlet?

586