Explain the difference between JspWriter and Servlet PrintWriter in JSP?

JSP PrintWriter is object directly responsible for writing the content in response, whereas JspWriter uses the PrintWriter object behind the scene while offering buffer support. After the buffer support is flushed or full, JspWriter uses the object in PrintWriter to write the content into a response.

Suggest An Answer

No suggestions avaliable!

Latest post from JSP Interview Questions

Ask Question