what is difference between JspWriter and PrintWriter ?
+3
A:
From the javadoc:
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.
The JspWriterImpl
of tomcat delegates the writing to the PrintWriter
obtained from the response.
Bozho
2010-07-12 12:51:03