What is ActionMapping ?

Showing Answers 1 - 3 of 3 Answers

senArijit

  • Apr 19th, 2006
 

Through Action mapping we first specify the action class with the action call and we also set the various forewards for the pages to various JSPs. This entries are done in struts-config.xml 

  Was this answer useful?  Yes

abdul khalik

  • May 11th, 2006
 

in action mapping we specify action class for particular url ie path and diffrent target view ie forwards on to which request response will be forwarded. We also specify to which page control should go if there is validation error for ex input property of <action>. It is also specified which form bean will correspond to action

<action-mappings>

<action path="/a" type=myclasse.A name="myForm"> 

<forward name="succes" path="/success.jsp"/>

<forward name="failure" path="/failure.jsp"/>

<action/>

</action-mappings>

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions