• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Execute method Struts

 
vedavyas durbhakula
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI I have a doubt that , can we write our own method in Action class insted of execute() method ???

IF yes in what kind of situations we will write and for what purpose do we write . give me a live scenario ???
 
Jibitesh Prasad
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you asking about naming execute() into something else and still executing???
 
Ram Chhabra
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Yes you can surely do that but for that you have to use different Action like:

1. DispatchAction
2. LookupDispatchAction

Hope this help you out.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic