Please correct me if I'm wrong, but that still doesn't enable you to specify
one <action forward=""> to be context relative and another module relative
within the same module as you can by using 'contextRelative' attribute on a
<forward>.

Steve


> -----Original Message-----
> From: news [mailto:[EMAIL PROTECTED] Behalf Of Martin Cooper
> Sent: August 4, 2003 3:23 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Addition of two new actions
>
>
>
> "Steve Raeburn" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > You're right <action forward=""> is module relative (despite
> what it says
> in
> > the Javadoc). However, I don't see how it can used with a
> context relative
> > path.
>
> You might want to take a look at the 'forwardPattern' attribute, and the
> RequestUtils.forwardURL() method (especially the JavaDoc for the latter).
>
> --
> Martin Cooper
>
>
> >
> > There is no contextRelative attribute on the action config so you don't
> get
> > to choose (or change) how your forward works.
> >
> > Of the three ways of defining forwards that you identified only one,
> > <forward>, works flexibly with modules and that's the one that we don't
> ship
> > an action for with Struts.
> >
> > SuccessAction works flexibly with modules, it's tool friendly,
> it's simple
> > to understand and its configuration is consistent with almost all other
> > actions.
> >
> > Steve



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

Reply via email to