You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by PEGASUS84 <pe...@hotmail.it> on 2009/03/14 12:51:06 UTC

identify action

good moornig;
my question is:
How can I identify the action which came from;
-- 
View this message in context: http://www.nabble.com/identify-action-tp22511787p22511787.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


Re: identify action

Posted by benjamin haimerl <b-...@gmx.de>.
PEGASUS84 wrote:
> good moornig;
> my question is:
> How can I identify the action which came from;
>   
hi,

what did you mean?
how to identify the action?

- the action which will be called to render the actual page?
if this is the question, just take a look @ the url...
for example:

http://host:port/context/start.do
(if the action servlet is configured (by web.xml) to *.do)

take a look in your struts-config.xml (/WEB-INF/struts-config.xml next 
to the deployment descriptor web.xml)
search for
<action-mapping>
<action name="start".... type="your.package.action.StartAction" />
..
</action-mapping>

the class ->your.package.action.StartAction<- is what you were searching for


Benjamin Haimerl




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