tags:

views:

42

answers:

2

what is the MVC and why i use it in Struts

+1  A: 

MVC is a design pattern on which Struts is based. You can read more about it here.

klausbyskov
A: 

MVC is one of the architectural pattern (see: http://en.wikipedia.org/wiki/Architectural%5Fpattern%5F%28computer%5Fscience) )

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

matekm