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?