(Model/View/Controller)MVC [closed]
what is the MVC and why i use it in Struts
MVC is a design pattern on which Struts is based. You can read more about it here.
MVC is one of the architectural pattern (see: http://en.wikipedia.org/wiki/Architectural_pattern_(computer_science) )
It is used because it allowe to separate application logic from GUI (in fact this is little more complicated). Thanks to that each part of the application (GUI and app logic) can be developed separately.
Whole pattern is very well described on Wikipedia: http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller
精彩评论