• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Backward compatibility

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is the Servlet/JSP APIs 2.4/2.0 are backward compatible with the versions 2.3/1.2?

I am planning to upgrade Tomcat from 4.1 to 5.5. I have a variety of virtual hosts running on this server. I wouldn't want to have some incompatibility issues after I install the server and migrate them. Thanks.
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The only issue I ran into, when migrating from Tomcat 4x to Tomcat 5x, was the value printed when using <jsp:getProperty .../> tags. In 4x, if a property was null, the tag would print an empty string. In 5x it prints the literal 'null'. I've seen some other people, who were trying to use non-bean objects with the useBean tag, complain about the JSPs not compiling.

For the most part, if you've written your app to the specs, the migration should be painless.
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
And, if for whatever reason, the template text ${ appears on your pages, that would cause a problem since that sequence now introduces an EL expression.
[ January 25, 2005: Message edited by: Bear Bibeault ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic