Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

global exceptions in struts

 
Venkat Babu
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

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.

<global-exceptions>
<exception
key="sample.error" type="java.lang.NumberFormatException" path="/jsp/Sample.jsp"/>
</global-exceptions>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic