Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Need example of DispatchAction  RSS feed

 
deepthi malladi
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

In my project I need to use the org.apache.struts.actions.DispatchAction class.

Can you tell me any sample programs where i can use it for my project.

Or give me any links.

Thanks for your comments.

Deepthi.
 
kv ruby
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Deepthi,

Your Action class can extend DispatchAction and you need not use execute method inside that class
but a similar method(means different name but same signatures and arguments).

use the below link for reference.
sample code
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!