Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Same action name appearing twice in struts config  RSS feed

 
Nitin Nigam
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,

I am trying to understand a application code where i saw more than on action elements with same action names (but different action path)
For example:


I am not sure how will struts pick an action in this case. Can anybody help me on this.
 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 !
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!