It's not a secret anymore!
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
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"/>
I agree. Here's the link:
subject: global exceptions in struts
It's not a secret anymore!