struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Lindholm <greg.lindh...@gmail.com>
Subject Re: common error page in struts2 application
Date Thu, 30 Jul 2009 18:59:32 GMT
    <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 <bhaarat.s@gmail.com> wrote:

> how do we map exceptions to a global result?
>
> On Thu, Jul 30, 2009 at 2:41 PM, Dave Newton <newton.dave@yahoo.com>
> 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: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message