I'm not saying anything about Cavaness' book. I haven't read it so I cannot comment :-) I'm just saying you can get the Input forward easily this way.
well, i'm not looking for a critique of the book, i'm just saying this code looks broken.
return mapping.findForward( mapping.getInput() );
as you point out below, findForward takes as an argument the name of a forward. the input attrubute on an action mapping, however, is a page.
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).
but you can't stick in a forward, correct? this is very confusing, that you say forward= and then you can give it almost anything EXCEPT a forward. :(
Well the thing is that tag is *defining* a forward, so if you're trying to put another forward in the path= property then you're doing something wrong, cause if that other forward is accessible from this action, then you don't need to define it again!!
i just think the attribute name is unfortunate. "forwardTo" might be better, for instance.
-- mike
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

