Try tomcat 5.5.7 and see if you get the same result.
-Tim
Chris Hyzer wrote:
Hello,
This works in Tomcat 4, but not 5 (5.0.25)
response.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
RequestDispatcher dispatcher =
request.getRequestDispatcher(somePage);
dispatcher.forward(request,
Even if Tomcat 5 works this way, you are counting on a container
specific implementation behavior that may be changed in future version.
Why not do it with a standard servlet approach? You can specify an
error handler in web.xml to handle different exception classes.
error-page
it's time to go...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
it's time to go...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
it's time to go...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
it's time to go...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
it's time to go...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
it's time to go...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
it's time to go...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
it's time to go...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
it's time to go...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
it's time to go...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello,
This works in Tomcat 4, but not 5 (5.0.25)
response.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
RequestDispatcher dispatcher =
request.getRequestDispatcher(somePage);
dispatcher.forward(request, response);
I would like to set a 500 error code, and call
different pages in
13 matches
Mail list logo