GeeCON Prague 2014*
The moose likes Struts and the fly likes execute() class. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "execute() class." Watch "execute() class." New topic
Author

execute() class.

victor chiong
Ranch Hand

Joined: Apr 04, 2012
Posts: 73
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

Joined: Oct 29, 2001
Posts: 8915
    
    8

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.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
victor chiong
Ranch Hand

Joined: Apr 04, 2012
Posts: 73
I mean, the execute method can be used more than once?
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8915
    
    8

Certainly
 
GeeCON Prague 2014
 
subject: execute() class.