Hey all

I have the following lines in Struts.xml

<global-results>
        <result name="error">/index</result>
</global-results>
<global-exception-mappings>
        <exception-mapping result="error" exception="java.lang.Throwable"/>
</global-exception-mappings>

But it won't catch exceptions where the user has typed in an unmapped
address, all I get is
There is no Action mapped for namespace / and action name xxx (with status
report 500)

Can I somehow redirect all these exceptions to my index page?

Thanks!
-- 
View this message in context: 
http://www.nabble.com/Redirecting-from-mapping-error-exceptions-tf3763683.html#a10638948
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to