Haven't tried this but you could probably make a global forward named
default and
instead of (not checking my syntax here)
return (_mapping.findForward(ForwardName));
use
ActionForward forward = _mapping.findForward(ForwardName);
if(forward == null)
reutrn _mapping.findForward(globalname);
else
return forward
bp
> -----Original Message-----
> From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 01, 2002 7:55 AM
> To: 'Struts Users Mailing List'
> Subject: RE: atction-mappings and default action path
>
>
> Why? (really)
>
> Mark
>
> -----Original Message-----
> From: Rainer J�nger [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 01, 2002 6:35 AM
>
> we would like to have a default action at the end of our mappings.
> So if none of the other paths matched that the last or
> default one would be
> executed.
> As far as I know ther is basically no fist or last. But still
> there must be
> a solouton something like:
>
> <action-mappings>
> .
> .
> .
> .
> <action path="/*"
> .
> .
> actionClass="my.actionClass"
> .
> . />
>
> </action>
> </action-mappings>
> How can something like this be done??
>
> thanks rainer j�nger
>
> --
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>