What is the difference between JspWriter and PrintWriter

Answer Posted / srinivaskumar.nimmana

This 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 ?    10 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is the get () method different from the post() method?

537


What is the workflow of a servlet?

719


Is java servlet still used?

588


What is a servlet context object?

621


How we can get ip address of client in servlet?

538






What is the difference between Servlets and Applets?

547


How does java thread pool work?

546


I have a requirement Here we have a ResultSet object that will contain 50 records i need to print those recors in to a webpage(i.e; view according to MVC architectures that mybe servlet or jsp) . Here i need to print the records 10 per page that is 1 to 10 in page one and 11 to 20 in page two like remaining will be appeared in other pages we need to display those page numbers whenever we click on that page number we will go to that page and display 10 records like we will display 5 pages it is like this << 1 2 3 4 5 next >>

2532


What is the difference between Server and Container?

618


What are session variable in servlets?

568


How servlet is created?

545


What is the default http method in the servlet?

766


What are the type of protocols used in httpservlet?

612


Why do we have servlet listeners?

597


What is servlet api used for conneting database?

696