This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Is Action class a Model or Controller? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Is Action class a Model or Controller?" Watch "Is Action class a Model or Controller?" New topic
Author

Is Action class a Model or Controller?

Leon Omk
Ranch Hand

Joined: Aug 17, 2010
Posts: 75

A controller accepts input from the user and instructs the model and a view port to perform actions based on that input.

A model manages the status of data.

I'm wondering if Action class in struts1.x is a controller or model?


OK, so that other guy knows Java better than I do, but I bet he can't speak Wuhanese(a Chinese Dialect) like me.
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321


already been answered. have a look this thread.


Saifuddin..
[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Is Action class a Model or Controller?
 
Similar Threads
A simple question
Disucssion about MVC
action objects
Where to handle Exception?
Struts -- Action class