• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Same action name appearing twice in struts config

 
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: 2906
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 !
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic