• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

about action maping in struts

 
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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>
 
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Sheriff
Posts: 9707
43
Android Google Web Toolkit Hibernate IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
removed my msg
 
Ankit Garg
Sheriff
Posts: 9707
43
Android Google Web Toolkit Hibernate IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
when your children are suffering from your punishment, tell your them it will help them write good poetry when they are older. Like this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic