Originally posted by Anh Vu:
Hi all,
I want to learn about web framework . I dont know Struts and dont know Spring . Where should I begin ? Do I must learn Struts first , then learn Spring ?
Struts is a web framework; Spring is a dependency injection framework. Two very different things. Spring is bigger and more inclusive than Struts.
How well do you know
Java and web development in general? Have you written and deployed Java web apps? Do you know servlets and JSPs well? If so, there's an advantage to going with Spring. It'll do more for you than Struts.
One other point to consider: Struts isn't being developed anymore. It's considered "mature", and the developers have moved on to other technologies like Java Server Faces. Spring is still quite active, so you might be better off going with Spring.
But be warned - Spring is bigger and different from what you're used to. Start with the on-line tutorial (Spring MVC step by step) and see what you think. If you like it, get a good book to act as your guide. (e.g., "Pro Spring" or "Spring in Action")