• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Struts 1.1 and Tomcat 5.5.9 Compitibility

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic