Good news! :)

FYI, all of my Actions call a common setup function at the start of execute(), 
and one of the things it does is set an attribute "command" in the request with 
the value of getPath() called on the ActionMapping.  I use that in JSPs 
sometimes as you are doing, but I didn't want to worry about the attribute name 
ever changing.  This insulates me from that problem (assuming getPath() is 
always present of course!)

-- 
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com

On Mon, January 24, 2005 11:43 am, Gianpiero Caretti said:
> [EMAIL PROTECTED] wrote:
> 
>> There will be a request attribute under the name
>> "org.apache.struts.action.mapping.instance".
>> Call getPath() on that (after casting to an ActionMapping).
> 
> It works!
> Thanks to all,
> Gianpiero
> 
> ---------------------------------------------------------------------
> 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