Re: Programmatically call the error page for a 500 error

2005-02-19 Thread Tim Funk
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,

Re: Programmatically call the error page for a 500 error

2005-02-19 Thread Rick Wong
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

Re: Re: Programmatically call the error page for a 500 error

2005-02-19 Thread webmaster
it's time to go... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: Programmatically call the error page for a 500 error

2005-02-19 Thread webmaster
it's time to go... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: Re: Programmatically call the error page for a 500 error

2005-02-19 Thread webmaster
it's time to go... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: Re: Re: Programmatically call the error page for a 500 error

2005-02-19 Thread webmaster
it's time to go... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: Re: Re: Re: Programmatically call the error page for a 500 error

2005-02-19 Thread webmaster
it's time to go... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: Re: Re: Re: Re: Programmatically call the error page for a 500 error

2005-02-19 Thread webmaster
it's time to go... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: Re: Re: Re: Re: Re: Programmatically call the error page for a 500 error

2005-02-19 Thread webmaster
it's time to go... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: Re: Re: Re: Re: Re: Re: Programmatically call the error page for a 500 error

2005-02-19 Thread webmaster
it's time to go... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Programmatically call the error page for a 500 error

2005-02-19 Thread webmaster
it's time to go... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Programmatically call the error page for a 500 error

2005-02-19 Thread webmaster
it's time to go... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Programmatically call the error page for a 500 error

2005-02-18 Thread Chris Hyzer
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