Mike,

1) You can use mapping.getInputForward() - more straightforward.

2) Yes, the forward can point to any resource, from a tiles definition to a jsp or an 
action url (I'm talking about the value you put in the <forward name="myforward" 
path="?"/> bit).

-- 
If education is too expensive, try ignorance.

On Tue, 15 Jul 2003 11:41:30 -0600
Michael Muller <[EMAIL PROTECTED]> wrote:

> 
> In Cavaness's book "Programming Jakarta Struts", there is a code sample
> on page 188 that contains a line I don't understand.
> 
> In the "execute" method of an implementation of an "Action" class, is
> the following line of code:
> 
> return mapping.findForward( mapping.getInput() );
> 
> Doesn't the input have to be an Action?  The DTD says "action or other
> resource".  What other resource?  Could I put the name of a tile in
> there?  I tried putting the name of a forward in there, but the
> validation framework complained that it didn't start with a "/".
> 
> Thanks,
> 
>    -- Mike
> 
> 
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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