wood burning stoves 2.0*
The moose likes Struts and the fly likes global exceptions in struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "global exceptions in struts" Watch "global exceptions in struts" New topic

global exceptions in struts

Venkat Babu
Ranch Hand

Joined: Jan 12, 2007
Posts: 47

I using struts 1.1, I am using global exceptions, but it is not working.

This is what I have added in struts-config.xml, but Sample.jsp is not called when the exception is thrown and I get the error page. Could someone please help me? Thanks.

key="sample.error" type="java.lang.NumberFormatException" path="/jsp/Sample.jsp"/>
It is sorta covered in the JavaRanch Style Guide.
subject: global exceptions in struts
Similar Threads
Deprecated method
Built in exceptions in Struts
custom error page
how to call a specific action
Handling Exceptions