• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

execute() class.

 
victor chiong
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Gurus,

How many execute() class can you use in a strut framework? It is sounds stupid but i am new to struts2

regards,
Vic
 
Joe Ess
Bartender
Pie
Posts: 9266
10
Linux Mac OS X Windows
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
execute() is not a class, but a method. There is no limit to the number of classes in a Struts application. You can also configure your application to invoke methods with names other than execute(), so one class can handle more than one kind of request. For example, it is common to have one class with CRUD methods for a particular item.
 
victor chiong
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I mean, the execute method can be used more than once?
 
Joe Ess
Bartender
Pie
Posts: 9266
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Certainly
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic