This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
The way I see it, is that unless you are needing to support a product that already uses Struts 1, then I would go with Struts 2. Struts 2 is where they energy from this point is going to be focused. Having used both I find that Struts 2 is a major improvement over the previous version.
Joined: Nov 14, 2008
Thank you David and Andr�-John Mas for your valuable comments. But still i am in confusion. I am a student developer not a professional developer. Now will you please tell me should i continue to learn struts-1 or start to learn struts-2. Please give me advice. Again Thank you very much.....
Joined: Oct 18, 2008
It shouldn't really matter whether you are a professional or a student. You need to look at why you are wanting to learn one technology over the other? There is nothing wrong with learning both if you have time, or sticking with struts 1 if you have already started. If you haven't started then I would go with struts 2. Like any problem I reckon the first place to start is by drawing two headings, one for struts 1 and the other for struts 2 and then list the pros and the cons.
We have given our opinion, so at this point you need to work out why you want, or need, to use one over the other. If you really can't work it out, then simply take a risk, choose one, and then correct later on if you find it isn't working out. If you don't get started that will be your biggest mistake.