• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Action mapping

 
Jesus Ramos Davila
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic