wood burning stoves 2.0*
The moose likes Struts and the fly likes Whether Action class acts as controller or model in struts2 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 "Whether Action class acts as controller or model in struts2" Watch "Whether Action class acts as controller or model in struts2" New topic
Author

Whether Action class acts as controller or model in struts2

MaheshS Kumbhar
Ranch Hand

Joined: Sep 24, 2009
Posts: 188
I was just jumbled on one silly question whether action classes act as part of controller or part of Model in struts2 framework? Because I know initial controlling of requests in done by StrutsPrepareAndExecuteFilter.
Please guide on this.


I am slow but sure
Abimaran Kugathasan
Ranch Hand

Joined: Nov 04, 2009
Posts: 2066

Model, because it has the business logics of the application.


|BSc in Electronic Eng| |SCJP 6.0 91%| |SCWCD 5 92%|
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Whether Action class acts as controller or model in struts2
 
Similar Threads
Working with Struts2
Struts2 and EJB 3 integration
struts2 Vs spring mvc
Struts2 Action best practice
JAAS with Struts2