Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the difference between JspWriter and PrintWriter

Answers were Sorted based on User's Feedback



What is the difference between JspWriter and PrintWriter..

Answer / 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

What is the difference between JspWriter and PrintWriter..

Answer / 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

What is the difference between JspWriter and PrintWriter..

Answer / 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

What is the difference between JspWriter and PrintWriter..

Answer / 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

More Servlets Interview Questions

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

0 Answers  


What are different methods of session management in servlets?

0 Answers  


How can a servlet be used to generate plain text instead of html?

0 Answers  


What exactly are the functions of servlet?

0 Answers  


How to make sure a servlet is loaded at the application startup?

0 Answers  


Write a command to get actual path of a servlet to the server?

0 Answers  


How to invoke a Servlet?

2 Answers   Mastek,


how the HTML data stored in web server?

0 Answers   TCS,


Explain servlet events?

0 Answers  


What is preinitialization of a servlet?

0 Answers  


What are the key methods that are involved in processing of http servlets?

0 Answers  


Explain the working of service() method of a servlet.

0 Answers  


Categories