hi,
you can getting from the ActionMapping object that is available from the
action.
Thanks,
Nuwan
----- Original Message -----
From: "prabath" <[EMAIL PROTECTED]>
To: <user@struts.apache.org>
Sent: Monday, June 04, 2007 1:06 PM
Subject: Getting the path attribute of <action> tag inside Action class
Hi,
I like to get the path attribute of action tag declared in
struts-config.xml inside my Action class.
<action path="/........." ....>
Is there any way?
The reason I want is, I have declared different action mappings(in
struts-config.xml) for the same Action class. Now I want to get the name
of
the action mappings inside the Action class for some manipulation work.
Is there any way to get it from HttpServletRequest object ? or any other
solution available??
Thanks
--
View this message in context:
http://www.nabble.com/Getting-the-path-attribute-of-%3Caction%3E-tag-inside-Action-class-tf3865118.html#a10949475
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
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]