GeeCON Prague 2014*
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
Marshal

Joined: Mar 22, 2005
Posts: 42056
    
  64
Struts contains an implementation of MVC. It can do other things (like validation) as well.


Ping & DNS - my free Android networking tools app
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61315
    
  66

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 agree. Here's the link: http://aspose.com/file-tools
 
subject: does MVC is used by struts?