Does anyone know how to do this successfully? I am using the "response" Jakarta Taglib 
but I keep getting the following error:

javax.servlet.ServletException: Response sendRedirect tag could not return the 
redirect: Response has already been committed

I am using the following code:

<%@ taglib uri="http://jakarta.apache.org/taglibs/response-1.0"; prefix="response" %>

<response:sendRedirect>
      <response:encodeRedirectUrl>"http://somepage.jsp";</response:encodeRedirectUrl>
</response:sendRedirect>

I don't quite understand how the server has committed a request to the client and if 
it has, how can I uncommit that request so that the client can be redirected 
successfully?

Any help would be greatly appeciated. Thanks.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

Reply via email to