-Tim
Mufaddal Khumri wrote:
Hi,
I am using tomcat 4.1.18. I want to be able to redirect a user to a standard error page 500 when someone tries to access a .jsp in my webapp. Is there a standard mechanism to do this in tomcat or will i have to do:
response.sendRedirect(response.encodeRedirectURL("/mywebapp/error/ error500.jsp"));
instead is there something like:
response.setError(500);
response.sendRedirect(); // This would result in a standard 500 page being displayed instead of the error500.jsp page
// i write.
Any pointers / code snipets ?
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
