This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have my web app running on Tomcat 4.0.3 which implements Servlet 2.3 & JSP 1.2 spec. I need to upgrade to Tomcat 5.0.18 which implements Servlet 2.4 & JSP 2.0 spec. What could be the issues i would have to deal with? Is there any document listing the same?
Assuming your web application doesn't use any of the Tomcat 4.x API -- i.e. it only uses what is defined in the JSP/Servlet specs -- your task should be as simple as installing Tomcat 5 and dropping in your old web application. The specifications attempt to be completely backward compatible. Try it!
Jayson Falkner<br />email@example.com<br />Author of <a href="http://www.jspbook.com" target="_blank" rel="nofollow">Servlets and JavaServer Pages; the J2EE Web Tier</a>
Joined: Oct 03, 2003
Thanks Jayson.But I read from the spec that the way we implement custom tags is a little different in JSP 2.0 Guess those wont be backward compatible and would need a little change.
The tags stuff is backwards compatible - it's just that JSP 2.0 adds some new techniques for building tags. Last time I looked *almost* everything ran as expected. Give it a go and let us know how you get on.
I can't believe that any system should "enforce" this behaviour. In XML the two forms are defined as being equivalent. This is especially worrying, as this tag is allowed to take nested parameters:
If the container "enforces" the abbreviated syntax, how is this supposed to work? If a container won't allow both types of syntax, it sounds like a bug to me. grr. darn smilies [ February 02, 2004: Message edited by: Frank Carver ]