JSP Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 695 Page Views: 

How response has already been committed error?



Posted By: Avi Date: 3 November 2010 11:09:57 PM
 Answer:

This error occurs only when tring to redirect a page after flushing the output buffer and the reason is that HTTP specification force the header to be set up before the lay out of the page can be shown.


Posted By: avibtech


Date: 3 November 2010 11:09:57 PM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image 61kvSa
Related Questions
JSP : What is a Session Id?

What is a Session Id?

It is a unique id assigned by the server to the user when a user starts a session.
Category: JSP Date: 11/4/2010 11:53:58 AM
JSP : How can we set the inactivity period on a per-session basis?

How can we set the inactivity period on a per-session basis?

By using the method setMaxInactiveInterval() of HttpSession.
Category: JSP Date: 11/4/2010 11:20:57 AM
JSP : What is pre initialization of a servlet?

What is pre initialization of a servlet?

A container doesn't initialize the servlets when it starts up. It initializes a servlet when it rece....
Category: JSP Date: 11/4/2010 8:58:58 AM
JSP : What is the name of deployment descriptor of a web application?

What is the name of deployment descriptor of a web application?

web.xml.
Category: JSP Date: 11/4/2010 6:03:59 AM
JSP : What is the use of setSecure() and getSecure() in Cookies?

What is the use of setSecure() and getSecure() in Cookies?

setSecure method indicates to the web browser that the cookie should only be sent using a secure pro....
Category: JSP Date: 11/4/2010 3:09:58 AM