aspose file tools*
The moose likes Struts and the fly likes Action mapping Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Action mapping" Watch "Action mapping" New topic
Author

Action mapping

Jesus Ramos Davila
Greenhorn

Joined: Dec 06, 2012
Posts: 1
Hi all, I have a question on which action to call when a request comes Struts

I have the Following

<struts>
<package name="example" namespace="/example" extends="struts-default">

<action name="Hello" >
<result>/example/Hello1.jsp</result>
</action>
<action name="welcome" >
<result>/example/welcome.jsp</result>
</action>
</package>
<package name="example2" namespace="/example" extends="struts-default">


<action name="Hello" >
<result>/example/Hello2.jsp</result>
</action>

</package>
</struts>

My question is If I invoke the action Hello
which of the two action are executed?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Action mapping
 
Similar Threads
struts2 result question
i'm not able to access my Result after i execute action
autocompleter tag...not working out. Please help S2
Struts2 and Eclipse: No configuration found for the specified action in namespace: ''
unable to run the file