Chapter 5. Common migration issues 91
Use of single and double quotes in JSPs
WebSphere Application Server V6 does not use the same JSP compiler as
Apache Tomcat 5.5.9. JSPs that work on Apache Tomcat 5.5.9 failed to run in
WebSphere Application Server V6. In two of our migration exercises, we had
to change single quotes to double quotes.
JNDI resource references
When migrating xPetstore Servlet from Apache Tomcat 5.5.9 to WebSphere
Application Server V6, we noticed that Apache Tomcat 5.5.9 allows invalid
resource references in web.xml in the following format:
java:/comp/env/jdbc/xpetstoreDS
This JNDI resource reference does not work in WebSphere Application
Server V6. The specification and DTD specify that the format must be:
java:comp/env/jdbc/xpetstoreDS ...