You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Davide Bruzzone <Da...@ngt.com> on 2002/12/03 18:29:44 UTC

A single error page when using Struts 1.0.2 templates: Is this po ssible?

Greetings all...

I've been puuling my hair out on this one for a while now, and I'm beginning
to wonder whether or not I should be spending any more time on it. Is it
even possible?

i.e. When using templates (We're still using Struts 1.0.2), is it possible
to have exceptions within the JSPs be redirected to a single error page
(i.e. An error page that takes up the whole window in the browser). I keep
having problems related to part of the page being rendered, then the error
occurring.

Any help would be GREATLY appreciated...

Cheers...

Dave

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: A single error page when using Struts 1.0.2 templates: Is this possible?

Posted by Michael Lee <ml...@hotmail.com>.
We set up a global forward for errors...
  <global-forwards>
      <forward name="systemError" path="/system_error.jsp"/>
  </global-forwards>
and when we catch exceptions beyond the normal we do a
mapping.findForward("systemError");

----- Original Message -----
From: "Davide Bruzzone" <Da...@ngt.com>
To: "'Struts Users Mailing List'" <st...@jakarta.apache.org>
Sent: Tuesday, December 03, 2002 12:29 PM
Subject: A single error page when using Struts 1.0.2 templates: Is this
possible?


> Greetings all...
>
> I've been puuling my hair out on this one for a while now, and I'm
beginning
> to wonder whether or not I should be spending any more time on it. Is it
> even possible?
>
> i.e. When using templates (We're still using Struts 1.0.2), is it possible
> to have exceptions within the JSPs be redirected to a single error page
> (i.e. An error page that takes up the whole window in the browser). I keep
> having problems related to part of the page being rendered, then the error
> occurring.
>
> Any help would be GREATLY appreciated...
>
> Cheers...
>
> Dave
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>