I need one more help regarding performance tuning for struts2, do you have
any latest good link for it.
--
Thanks & Regards
Srikanth
Software Developer
eGovernments Foundations
www.egovernments.org
Mob : 9980078913
On Fri, Jun 21
Yeah lukasz, you are correct i was working with devMode set to true, when i
made it to false the custom exception page is coming.. Thanks a lot for
reminding me this simple mistake.
--
Thanks & Regards
Srikanth
Software Developer
eGovernments Foundations
www.egove
Do you have devMode set to true? Which stack do you use in struts.xml?
Regards
--
Ćukasz
+ 48 606 323 122 http://www.lenart.org.pl/
2013/6/21 Sreekanth S. Nair :
> Okay, but the error page i'm getting is default error page not the custom
> error page (more over i'm not using exceptionStack in m
Okay, but the error page i'm getting is default error page not the custom
error page (more over i'm not using exceptionStack in my custom error page)
--
Thanks & Regards
Srikanth
Software Developer
eGovernments Foundations
www.egovernments.org
Mob : 9980078913
---
There is nothing like CatchAll in Struts 2, you define result per exception type
so all other exceptions than SecurityBreachException will be directed
to result "error" and error.jsp prints the stacktrace as well:
Exception Details:
so maybe remove that line and your are done.
Re
I already have the following settings in my struts.xml
/error/genericError.jsp
/error/accessdenied.jsp
/error/invalidrequest.jsp
/error/pageNotFound.jsp
--
Thanks & Regards
Srikanth
Software Developer
e
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
-
2013/6/21 Sreekanth S. Nair :
> 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
--
--- [EMAIL PROTECTED] wrote:
> I would like to centralize exception handling in a
> one class instead of handling them in all action
> method.
http://struts.apache.org/2.x/docs/exception-configuration.html
d.
9 matches
Mail list logo