I have knowledge of struts 1 BUT no idea about struts 2. I am thinkgin to learn spring OR struts 2. I heared that struts 1 & struts 2 both are completely different products. I am little bit confuse that what should i learn Spring OR struts2.
Spring & struts 2 both are same OR both are different products???
for which version of spring i should go??
which one is good book for spring???
Spring and Struts are completely separate projects, although Spring may be used with either version of Struts. You heard correctly that Struts 1 and Struts 2 are completely different frameworks (except for the name).
For Spring I'd learn as recent a version as possible; if you want to be cutting-edge you could start learning Spring 3.0, otherwise 2.5 is a good choice.
Note that Spring includes its own MVC layer, making it unnecessary to learn Struts 2. I still prefer the way Struts 2 works compared to Spring MVC 2.5, and haven't really evaluated Spring MVC 3.0 yet. Struts 2 has a Spring plugin, however, that allows all Struts 2 objects to be created via Spring, so the integration is pretty nice.