Re: Creating a standard page to handle Error 500

2005-05-26 Thread Martin Gainty
ist" ; "Martin Gainty" <[EMAIL PROTECTED]> Sent: Thursday, May 26, 2005 5:32 PM Subject: Re: Creating a standard page to handle Error 500 also... I have a BaseAction all my actions are inherited from might I do whatever you recommend I do... there? :D On 5/26/0

Re: Creating a standard page to handle Error 500

2005-05-26 Thread David Johnson
llocation > > attribute for login jsp page > > HTH, > > - Original Message - > > From: "Andrew Thorell" < [EMAIL PROTECTED]> > > To: "Struts Users Mailing List" > > Sent: Thursday, May 26, 2005 11:41 AM > > Subject: Re:

Re: Creating a standard page to handle Error 500

2005-05-26 Thread David Johnson
; If you want simple follow the instructions for supplying web.xml location > attribute for login jsp page > HTH, > - Original Message - > From: "Andrew Thorell" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" > Sent: Thursday, May 26

Re: Creating a standard page to handle Error 500

2005-05-26 Thread Martin Gainty
TED]> To: "Struts Users Mailing List" Sent: Thursday, May 26, 2005 11:41 AM Subject: Re: Creating a standard page to handle Error 500 Where does one find this to modify the doGet method? I've yet to deal with actually modifiying the actual servlet... Andrew On 5/26/05, Mar

Re: Creating a standard page to handle Error 500

2005-05-26 Thread David Johnson
I'd like to avoid modifying the struts code if I can On 5/26/05, Andrew Thorell <[EMAIL PROTECTED]> wrote: > > Where does one find this to modify the doGet method? I've yet to deal > with actually modifiying the actual servlet... > > Andrew > > On 5/26/05, Martin Gainty <[EMAIL PROTECTED]>

Re: Creating a standard page to handle Error 500

2005-05-26 Thread Andrew Thorell
Where does one find this to modify the doGet method? I've yet to deal with actually modifiying the actual servlet... Andrew On 5/26/05, Martin Gainty <[EMAIL PROTECTED]> wrote: > Inside the StrutsServlet's doGet method > > RequestDispatcher dispatcher = null; > > request.getRequestDispatcher(/e

Re: Creating a standard page to handle Error 500

2005-05-26 Thread Martin Gainty
e/1.4/docs/api/index.html Regards, Martin- - Original Message - From: "David Johnson" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Thursday, May 26, 2005 10:55 AM Subject: Creating a standard page to handle Error 500 Hey all I recently added the fol

Re: Creating a standard page to handle Error 500

2005-05-26 Thread Andrew Thorell
,mime-mapping*,welcome-file-list?,error-page*,taglib*,reso That error is tell you that you placed the error-page tag in the wrong section. The error tells you the correct order you need to put all the tags in. Andrew - To unsubs

Re: Creating a standard page to handle Error 500

2005-05-26 Thread Andrew Thorell
Perhaps the community can answer that question for you. I use the error-page 500 as a catch all for undefined / unexpected errors. I'm sure there's a way to do it, I just haven't done it before and can't tell you off the top of my head. You can probably point the Error at an action which can point

Re: Creating a standard page to handle Error 500

2005-05-26 Thread Andrew Thorell
Web.xml 500 /where/you/want/to/go 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

Creating a standard page to handle Error 500

2005-05-26 Thread David Johnson
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 g