You can indeed forward to a servlet ... the path that you specify must
be a context relative path (starting with a slash) to some URL that
you have mapped to your "other" servlet.

The restriction with forwards is that you cannot go outside the current webapp.

Craig

On 7/19/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> On 7/19/05, Jane Eisenstein <[EMAIL PROTECTED]> wrote:
> > I would like to be able to forward to the existing servlets from Struts
> > code in a manner that will not need to change when a servlet is replaced
> > by an equivalent action. Could I use a ForwardAction action to forward
> > to the servlets?
> 
> I am not sure that you can forward, but you definetely can redirect.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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

Reply via email to