• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Difference Between DispatchAction and Action (Not the usual question)

 
Adarsh Raj
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know what is the difference between DispatchAction and Action.....I want to know is there any Performance/Security difference between the two..
I can use the Action class as a DispatchAction one if i code something like this

struts-config.xml


Then in the action class


Here UserAction works the same way as a DispatchAction does....So what are the advantages/disadvantages of ActionDispatch over Action and vice versa.....One thing i can think is that, by using this method, i can hide the method calls from appearing in the url but i know it will make my struts-config big and difficult to manage in addition to that fact that i need to remember a lot of action names while i'm coding...

Any others adv/disadvantages of DispatchAction over Action and vice versa....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic