Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Redirect gives me a page error

843836May 13 2005 — edited May 13 2005
I am trying to get my JSP redirect on my Windows 2000 web server with a JSP engine to work in my catch statement. The problem seems to be when it redirects it gives me an error message:

Server Error
The server encountered an internal error and was unable to complete your request
JRun closed connection


After I see the above error message I refresh the page it gets rid of that error message and gives me the correct message for theRedirectpage.jsp.


Here is my redirect part in the JSP:
catch (Exception e)
{
       response.sendRedirect("theRirectpage.jsp")
}
Please advise how I can correct this problem?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 10 2005
Added on May 13 2005
1 comment
456 views