From: Hubert Rabago <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: Re: Catch-all ActionMapping? Date: Tue, 25 May 2004 13:02:20 -0700 (PDT)
--- None None <[EMAIL PROTECTED]> wrote:
> First, can anyone explain the settings of the debug and detail init params
> of ActionServlet? I haven't been able to dig up any good detail. The best
I believe the "debug" setting has been deprecated in favor of log settings for commons-logging (or whatever logging implementation you're using).
> What I mean is, is it possible to say something like "Ok, if no mapping
> is
> found that matches the request, forward to page xxxx"?
Specify 'unknown="true"' for your catch-all action mapping. To forward to a
jsp, do something like:
<action path="/index" type="org.apache.struts.actions.ForwardAction" parameter="index.jsp" unknown="true"/>
- Hubert
__________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
Stop worrying about overloading your inbox - get MSN Hotmail Extra Storage! http://join.msn.click-url.com/go/onm00200362ave/direct/01/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]