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 ?
Thanks.
- form-based login / cookies disabled / JSPs in WEB-IN... Adam Hardy
- Re: form-based login / cookies disabled / JSPs ... Jose Alfonso Martinez
- Re: form-based login / cookies disabled / J... Adam Hardy
- Re: form-based login / cookies disabled... Jose Alfonso Martinez
- Re: form-based login / cookies disa... Adam Hardy
- RE: form-based login / cookies disabled / J... Sjoerd van Leent
- Re: Standard error pages ? Mufaddal Khumri
- Re: Standard error pages ? Tim Funk
