I don't know the specific answer to your question, but I learned a lot by writing a method that prints out the key and value for every attribute in every scope, and calling that method at various points along the RequestProcessor timeline (by overriding various methods of RequestProcessor). RequestProcessor invokes a dozen or so methods on itself for every request, and during that time many attributes are set and/or removed from various scopes.

I do recall that the controller Servlet mapping was available. Not sure about specific Action mappings.

Erik



Alan Pocklington wrote:

I have an Action defined as:

<action path="/myaction/**" type="...MyAction"/>
Within the Action class itself I want to get at the path attribute as defined in the config file, 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?

Thanks in advance.


--------------------------------------------------------------------- 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