I already have the following settings in my struts.xml <global-results> <result name="genericError">/error/genericError.jsp</result> <result name="accessDeniedError">/error/accessdenied.jsp</result> <result name="invalid.token">/error/invalidrequest.jsp</result> </global-results> <global-exception-mappings> <exception-mapping exception="java.lang.Exception" result="genericError" /> <exception-mapping exception="org.hibernate.HibernateException" result="genericError" /> <exception-mapping exception="org.springframework.security.access.AccessDeniedException" result="accessDeniedError" /> </global-exception-mappings> <action name="CatchAll"> <result>/error/pageNotFound.jsp</result> </action>
-- Thanks & Regards Srikanth Software Developer -------------------------------- eGovernments Foundations www.egovernments.org Mob : 9980078913 -------------------------------- On Fri, Jun 21, 2013 at 12:02 PM, Sreekanth S. Nair < sreekanth.n...@egovernments.org> wrote: > Hi Lukasz, > Thanks for your replay, i did the same way only, but there > are some exception still going uncaught and showing the stacktrace to view. > There was something called CatchAll, can you please tell me how to do it. > > -- > Thanks & Regards > Srikanth > Software Developer > -------------------------------- > eGovernments Foundations > www.egovernments.org > Mob : 9980078913 > -------------------------------- > > > On Fri, Jun 21, 2013 at 11:50 AM, Lukasz Lenart > <lukaszlen...@apache.org>wrote: > >> 2013/6/21 Sreekanth S. Nair <sreekanth.n...@egovernments.org>: >> > Hi, >> > Can anyone point me a tutorial or reference for how to handle >> exception >> > (uncaught or all exception). There are so many tutorial available online >> > but all are different. >> >> http://struts.apache.org/development/2.x/docs/exception-handling.html >> >> >> Regards >> -- >> Ćukasz >> + 48 606 323 122 http://www.lenart.org.pl/ >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> >