one last question: lets say my mapping comes out to be this <global-results> <result name="error">/chapterFour/Error.jsp</result> </global-results>
<global-exception-mappings> <exception-mapping exception="java.lang.Exception" result="error" /> </global-exception-mappings> so will i add that in each package in my struts.xml. I have over 20 right now. Is there a way to just add it somewhere so that all 20 package mappings see it? most of the packing are using struts-default On Thu, Jul 30, 2009 at 3:26 PM, Bhaarat Sharma <bhaara...@gmail.com> wrote: > thanks > > > On Thu, Jul 30, 2009 at 3:21 PM, Dave Newton <newton.d...@yahoo.com>wrote: > >> Bhaarat Sharma wrote: >> >>> how do we map exceptions to a global result? >>> >> >> You may not know about the Struts 2 documentation wiki that has a page >> covering exception configuration: >> >> http://struts.apache.org/2.1.6/docs/exception-configuration.html >> >> >> Dave >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> >