<global-exception-mappings>
      <exception-mapping exception="java.lang.Exception" result="error" />
    </global-exception-mappings>


On Thu, Jul 30, 2009 at 2:55 PM, Bhaarat Sharma <[email protected]> wrote:

> how do we map exceptions to a global result?
>
> On Thu, Jul 30, 2009 at 2:41 PM, Dave Newton <[email protected]>
> wrote:
>
> > Bhaarat Sharma wrote:
> >
> >> What is the way to provide a common error page in a struts2 application?
> >> and
> >> automatically redirect to the error page when errors occur?
> >>
> >
> > Map exceptions to a global result.
> >
> > Dave
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >
>

Reply via email to