This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is Action class a Model or Controller?