wood burning stoves 2.0*
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
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?