Can anyone let me know the differences between (1) and (2): Thanks

(1) In struts-config.xml
<global-exceptions>
                        <exception key="someerryorKey" 
                                type="java.lang.Exception" 
 
handler="com.....handler.MyCustomExceptionHandler" 
                                path="errorPageForward">
                        </exception>
        </global-exceptions>

(2) In web.xml
<error-page>
  <exception-type>Exception</exception-type>
  <location>/MyError.jsp</location>
</error-page>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to