Originally posted by Raghavan Muthu:
Hi keshab,
That's very true. Please keep in mind that there are two MVCs floating around. MVC1 or plain MVC and MVC2 and struts is believed to be a good and strict implementation of MVC2 architecture.
There are not two MVC architectures.
There is one.
You're confusing terms.
There is Model 1 which is not MVC and there is Model 2 which is.
Struts implements MVC, but so do plenty of other frameworks.
MVC can also be implemented without Struts (or any other framework for that matter).
A lot of us don't think Struts is the best way to go.
Much of its functionality was designed to overcome deficiencies in older versions of
JSP. In JSP 2.0 (with EL and JSTL) a lot of Struts had become redundant.
If you're just starting out, you'd do well to learn how to write MVC applications using JSTL, and EL in your JSPs; without the use of a framework. Once you're comfortable with the concepts, then start to look at all the different frameworks available and see which one, if any, would would really be helpful. I've been using Bear Bibeault's FrontMan lately.
One reason to learn or become familiar with Struts is that it was an industry standard for a few years. This means that a lot of existing projects were written with it and having experience with it could be helpful in finding work.