A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Arduino in Action
this week in the
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
Same action name appearing twice in struts config
Joined: Jul 03, 2006
Jul 07, 2008 03:19:00
I am trying to understand a application code where i saw more than on action elements with same action names (but different action path)
<action name="myAction" path = "/myResource1"> <forward>.......</forward> </action> <action name="myAction" path = "/myResource2"> <forward>.......</forward> </action>
I am not sure how will
pick an action in this case. Can anybody help me on this.
Nothing is impossible; for those who doesnt have to do it themselves.
Joined: Feb 19, 2008
Jul 07, 2008 03:57:00
Here both the action url call the same action class , It happens in some scenario ,
like User registration , the admin can register the user , plus the general user too !
[Freelance Web Designer]
[and "Rohan" is part of my surname]
I agree. Here's the link:
- it saves me about five hours per week
subject: Same action name appearing twice in struts config
Cannot Find Bean inscope null
By passing forward in action tag.
forwarding to a servlet instead of a jsp
Forward in an action forms reset method.
forwarding between action classes
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013