It's not a secret anymore!
The moose likes Struts and the fly likes does MVC is used by struts? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "does MVC is used by struts?" Watch "does MVC is used by struts?" New topic
Author

does MVC is used by struts?

Rauhl Roy
Ranch Hand

Joined: Aug 01, 2006
Posts: 401

Hey,

may i know is there any difference between Struts and MVC architecture?



regards,
rahul
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
Struts contains an implementation of MVC. It can do other things (like validation) as well.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 63221
    
  69

Even though Struts provides the framework for creating a Model 2 web application (the closest thing to MVC possible over the HTTP ptotocol), you are still responsible for putting the functionality of your application in the appropriate places.

For example, Struts will not prevent you from creating travesties like performing SQL queries in the JSPs.

Also note that Model 2 web applications are possible to create without Struts or any other large framework.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: does MVC is used by struts?
 
jQuery in Action, 3rd edition