Web.xml <error-page> <error-code> 500 </error-code> <location> /where/you/want/to/go </location> </error-page>
you can do redirections inside your location page, or however you want to set it up, point it at an action or whatever. Andrew T On 5/26/05, David Johnson <[EMAIL PROTECTED]> wrote: > Hey all > I recently added the following to my JSP pages to force them not to be > cached: > <% response.setHeader("Pragma","no-cache");%> > <% response.setHeader("Cache-Control","no-store");%> > <% response.setDateHeader("Expires",-1);%> > the result is that if the user hits "back" then "reload" they get an error > 500. How can I create a page that will handle any error 500 that comes up? > Essentially, I just want to display a message that tells the user to > re-login.. > thoughts? > > -- > -Dave > [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]