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