File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Struts 1.1 and Tomcat 5.5.9 Compitibility Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Struts 1.1 and Tomcat 5.5.9 Compitibility" Watch "Struts 1.1 and Tomcat 5.5.9 Compitibility" New topic
Author

Struts 1.1 and Tomcat 5.5.9 Compitibility

Abhishek Dhar
Greenhorn

Joined: Nov 07, 2006
Posts: 16
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
Anirvan Majumdar
Ranch Hand

Joined: Feb 22, 2005
Posts: 261
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts 1.1 and Tomcat 5.5.9 Compitibility
 
Similar Threads
Tomact Configuration
Why JSTL core tag doesn't support EL?
Does tomcat 5.5.9 support Java 5.0
Tomcat Problem with JSP
how to access values in session from javascript