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]> wrote:
> > Inside the StrutsServlet's doGet method
> >
> > RequestDispatcher dispatcher = null;
> >
> > request.getRequestDispatcher(/err/SQL.jsp);
> >
> > try {
> >
> > // operation which causes 500
> > }
> > catch (Exception se) {
> > //forwards to a login.jsp
> > dispatcher.forward(request, response);
> > }
> >
> > check out http://java.sun.com/j2ee/1.4/docs/api/index.html
> > Regards,
> > Martin-
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
-Dave
[EMAIL PROTECTED]