This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Upgrade Tomcat 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 » Products » Tomcat
Bookmark "Upgrade Tomcat" Watch "Upgrade Tomcat" New topic
Author

Upgrade Tomcat

Dan Parsons
Ranch Hand

Joined: May 30, 2007
Posts: 70
I have several Web apps with Forms that update, select and add to an Oracle database. I dont have JSTL or Struts and use MVC for everything I do. Everything works well and I am using Java 1.4.02 with Tomcat 4.1.27 on Windows server.

Now I will be upgrading to Java 5 and Tomcat 5.5 and would like to migrate all my Tomcat 4.1.27 Web apps to Tomcat 5.5 container. Please advise any issues I might have that will cause errors on my Web apps built and compiled under Java 1.4.02? Will they still work in Java 5 and Tomcat 5.5? Do I need to recompile under Java 5??
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

No you don't need to recompile.

The only issue that I ran into when migrating from 4 to 5 was with the jsp:getProperty tags.

If a String property in a bean is null, in 4x an empty String will be written to the page. In 5x, the String "null" is written.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Dan Parsons
Ranch Hand

Joined: May 30, 2007
Posts: 70
Thanks, I assume I will have to create condition for "null" to handle that in Tomcat 5 for my getProperty tags.

Also, on another note I have learned alot from your SimpleTable MVC example that you created with a MockResultSet. It is the best MVC resultset example and helped me create a MVC working with a real Database.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Thanks.
These day's I use Bear's FrontMan front controller. It saves me a lot of time.

[ January 15, 2008: Message edited by: Ben Souther ]
[ January 15, 2008: Message edited by: Bear Bibeault ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Upgrade Tomcat
 
Similar Threads
Moving webapps
A few more questions
Running jsp pages in IIS web directory
Tomcat 5 failure
Error reading tld listeners exception with Spring's ContextLoaderListener