| Author |
action classes part of model or controller
|
Jiji Cherian
Greenhorn
Joined: Apr 15, 2005
Posts: 14
|
|
Hi there, could anyone tell me action classes belong to the controller part or model part..
|
Rgds.<br /> <a href="mailto:mr.jiji@gmail.com" rel="nofollow">mr.jiji@gmail.com</a>
|
 |
David Ulicny
Ranch Hand
Joined: Aug 04, 2004
Posts: 724
|
|
|
Bellongs to controller part, this is the place where you decide to where the request will be forwarded.
|
SCJP<br />SCWCD <br />ICSD(286)<br />MCP 70-216
|
 |
Marc Peabody
pie sneak
Sheriff
Joined: Feb 05, 2003
Posts: 4725
|
|
...and you are not allowed to save state on Action classes, thus making them anything BUT the model. Sounds like someone had an interview.
|
A good workman is known by his tools.
|
 |
Vani Bandargal
Ranch Hand
Joined: Oct 06, 2005
Posts: 82
|
|
Interesting thread. From the Struts Books and experience, what I understand is Action Classes are really Model part. Struts.config plays the role of Controller. Practically nobody wants/suggests to have any Business logic in Action Class methods even though it is a Model component. Could anyone tell this is coreect or not and any other suggestion....
|
 |
 |
|
|
subject: action classes part of model or controller
|
|
|