• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

about action maping in struts

 
santhosh kumar vk
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
how to use more than one action mapping in struts config.xml and how to use them please give details







thank you
 
Nagendra Siram
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
an example which i am using in my current project, i hope this helps

<action path="/changeMembershipAccessStatus" parameter="ac" type="org.springframework.web.struts.DelegatingActionProxy" name="lockMembershipActionForm" scope="request" input="/showUserSecurityDetails.jsp">
<forward name="success" path="/lockMobiu.jsp"/>
<forward name="lockpage" path="/lockMobiu.jsp"/>
<forward name="unlockpage" path="/unlockMobiu.jsp"/>
<forward name="failure" path="/showUserMembershipDetails.jsp"/>
</action>
 
Lorand Komaromi
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
santhosh kumar vk wrote:hi,
how to use more than one action mapping in struts config.xml and how to use them please give details


There is plenty of information in the official docs about action configuration, if that's not enough, be more specific, tell us what are you stuck with!
 
Ankit Garg
Sheriff
Posts: 9509
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which version of struts are you talking about?? Is it struts 1 or struts 2??
 
Nagendra Siram
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
removed my msg
 
Ankit Garg
Sheriff
Posts: 9509
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ankit Garg wrote:Which version of struts are you talking about?? Is it struts 1 or struts 2??

Nagendra Siram wrote:struts 2.

The question was actually for santhosh. If you have any questions, then please start a new topic for it (as you already have created a thread for similar question here). Asking a completely different question in someone else's thread is called as hijacking and is considered a bad practice...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic