I want to know when to go for Spring MVC and when to go for Struts. both are different and doing the same task.so what is advantage of one over another(Spring MVC over struts ,not Spring over Struts or vice versa).How to make a choice whether to go for Struts or SpringMVC?
The choice would depend on many factors. How much of code base do you currently have in struts? Whats the primary skill of the current team? Is there a adaptation of either as a standard organization framework?
I don't think there too much of advantage of one over the other - specifically if you are looking at struts too.
You could also get the best of both worlds by using Spring as you Object Factory in a Struts projects.
Thanks.As you said one can also get the best of both worlds by using Spring as you Object Factory in a Struts projects.I assume that means Using Struts MVC and Spring IOC.
While thats fine, actually what I wanted to compare was "SpringMVC and Struts" NOT "Spring and Struts".