This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes action class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "action class" Watch "action class" New topic

action class

sonali rao
Ranch Hand

Joined: Nov 03, 2003
Posts: 64

Does a action class which extends Action belong to the category of Controller component in MVC architecture
OR is it considered as a Helper class which belongs to the Model component of MVC architecture.
Srikanth Shenoy
Ranch Hand

Joined: Jan 24, 2004
Posts: 184
Action belongs to controller. No doubt about it.
For that matter, even ActionForm is part of the controller.

Srikanth Shenoy
Author of Struts Survival Guide : Basics to Best Practices
It is sorta covered in the JavaRanch Style Guide.
subject: action class
Similar Threads
Pattern Question
Related To Controller
Actionservlet is model or controller
struts comes under which layer of three tier architecture
array of buttons