Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Backward compatibility

 
Ulvi Cetin
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • 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.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • 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.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65228
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic