Hello all,
We use jsp's and servlets for out presentation layer. All our JSP's extend from
a base servlet
the provides error handing and exception handling capabilities. I would also
like to do a POST
to the error page to avoid an big url. What is the best way to accomplish this ?
I have been able to accomplish a redirect using post, by opening a url
connection and reading the
contents from the connection and writing it into the response object. However
this has a bug in that, if
the JSP page that throws an exception has already written partial HTML to the
response object,
then the results of the post is appended to the existing stream and browser
becomes confused.
How can I reset the contents of the stream without sending it to the browser ?
Thanks in advance,.
Srikanth
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html