Hello friend my name is Abhishek and i have just started trying my hands on struts I have Tomcat 5.5.9 installed on my system and I am using Struts 1.1 for developing application I have read some ware that Struts 1.1 is not compatible with Tomcat 5x. I want to know that is it true or not. If so, then which version of Tomcat should I use to make my Struts application work. And also one more thing right now I am studying Struts from Struts For Dummies , is it a nice book for beginner like me or should I use some other book instead of it.
Regards From ---- @bhishek Dh@r
posted 8 years ago
I haven't really heard of any such constraint on Struts 1.1 due to the usage of Tomcat 5.x [though I've been working on Struts 1.2 for a *long* time now]. The only problem I can think of is: a => The Tomcat 5.x container requires that your web app have a more recent DTD version for the web.xml, which in turn requires a newer Struts DTD (= a newer Struts version) b => The Struts source code for 1.1 might be based on a JDK version which the Tomcat 5.x container isn't too comfortable handling. [<= a bit improbable though 'coz the JDK versions are s'posed to be backward compliant]
IMHO, you should consider migrating to a more recent Struts version. At most, you'll only need to change the struts-config DTD and change some tags here and there. Isn't a big overhead at all.
As for learning about Struts, I haven't got much clue about the Dummies book but you might want to take a look at this one.