Josh McDonald wrote:
Quick question: When you've a wildcard in an actionmapping path, what
will you get when the user makes something up that has no corresponding
class? Will it give a 404, or an ugly stuts error? If it's an ugly
error, how do you catch it? Somehow with the <exception> in
struts-config.xml?

I usually use the web.xml:

<error-page>
        <error-code>404</error-code>
        <location>/pagenotfound.jsp</location>
    </error-page>




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

Reply via email to