• 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

DispatchAction and EventDispatchAction

 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am not very clear about whats the difference between DispatchAction and EventDispatchAction... can any1 please explain these 2?

- 2shar
 
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

tushar bhasme wrote:Hi,

I am not very clear about whats the difference between DispatchAction and EventDispatchAction... can any1 please explain these 2?

- 2shar



Please read the api for DispatchAction vs EventDispatchAction

In case of any doubt further, you can come here and ask the experts about your confusion.
 
tushar bhasme
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks for the link, but i am still not clear...
Both DispatchAction and EventDispatchActions provide a way to call different methods using the parameter value from the same action class... the only difference was how they were defined in the struts config file... we define 1 mapping per method for DispatchAction, while we map all the methods in a single mapping for EventDispatchAction...

is this the only diff?
 
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Refer the below link.. You will get it surely..
Using Struts EventDispatchAction
 
So you made a portal in time and started grabbing people. This tiny ad thinks that's rude:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic