*
The moose likes Struts and the fly likes about action maping in struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "about action maping in struts" Watch "about action maping in struts" New topic
Author

about action maping in struts

santhosh kumar vk
Ranch Hand

Joined: Aug 25, 2009
Posts: 144
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

Joined: Nov 18, 2009
Posts: 4
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

Joined: Oct 08, 2009
Posts: 276
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!


OCJP 6 (93%)
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9291
    
  17

Which version of struts are you talking about?? Is it struts 1 or struts 2??


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Nagendra Siram
Greenhorn

Joined: Nov 18, 2009
Posts: 4
removed my msg
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9291
    
  17

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...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: about action maping in struts
 
Similar Threads
Database Connection pool in struts
how to include struts action in jsp
How to Use two Struts-Config.xml files
Struts 1 .do extension
New to Sturt ,Good Book,URL