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>