You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Alan Pocklington <aj...@pocko.freeserve.co.uk> on 2004/10/08 19:43:38 UTC

How To Get At Action Path?

I have an Action defined as:

  <action 
      path="/myaction/**"  
      type="...MyAction"/>
      
Within the Action class itself I want to get at the path attribute, i.e. 
/myaction/**.  

I can get the requested path, for example /myaction/somepath/xxx.do via 
actionMapping.getPath() but not the original path to which the action was 
mapped.  Is there any way I can get at this?


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org