File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Compatibility between Struts 2.0.6 and Tomcat 6.0.13 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Compatibility between Struts 2.0.6 and Tomcat 6.0.13" Watch "Compatibility between Struts 2.0.6 and Tomcat 6.0.13" New topic

Compatibility between Struts 2.0.6 and Tomcat 6.0.13

Yogaraj Khanal
Ranch Hand

Joined: Jun 06, 2007
Posts: 40
I have used the combination of Tomcat 6.0.13 and Struts jar 1.3.8 to run the Struts application.
But I couldn't run the same application with the 2.0.6 Struts jar.
Please mail me if you guys have done so successfully or have any kind of similar problems.

Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
The differences between Struts 1 and Struts 2 are significant enough that you can't just replace the Struts 1.3.8 jar file with the Struts 2.0.6 Jar file and expect your application to run regardless of which version of Tomcat you're using.

If you want the application to work, you must migrate it to a Struts 2 application, which involves changing some code. See the migration guide for more information.

Once you have a properly written Struts 2 application, there's no reason it won't run on Tomcat 6.
[ June 06, 2007: Message edited by: Merrill Higginson ]

Consultant, Sima Solutions
jQuery in Action, 2nd edition
subject: Compatibility between Struts 2.0.6 and Tomcat 6.0.13
Similar Threads
Exception starting struts 2 - tiles integration
Adding tiles to the Struts 2 Application
Serious Struts Compatibility issue
tomcat binary version
Getting message while adding taglib uri for Struts 2 in the JSP file