aspose file tools*
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
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