This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages 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