Hi,

S1 in strusts-config.xml we used to have the following
global exception directive

<global-exceptions>
        <exception key="errors.general"
type="java.lang.Exception"
path="/jsp/common/globalFailure.jsp" />
  </global-exceptions>

The errors.general is the key from the resource
bundle.

How can we do the same in S2 with the following in the
struts.xml

<global-exception-mappings>
                   <exception-mapping
result="/jsp/common/failure.jsp"
exception="java.lang.Exception"></exception-mapping>
                </global-exception-mappings>

Can't we pass a key value from the resource bundle.

Thanks






 
____________________________________________________________________________________
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/

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

Reply via email to