Currently we have our web apps deployed using tomcat 4.1.27 We are in process of migrating to tomcat 5.028 version. Here is what my findings are:
1) If build is done using tomcat 4.1.27 and ran on tomcat 5.0.28, it wont work.
2) If build is done using tomcat 5.0.28 and ran on tomcat 4.1.27 it wont work.
What I noticed that servlet.jar (in tomcat 4.1.27) is renamed to servlet-api.jar (in tomcat 5.0.28).
How can I have backward compatibility with tomcat 5.0.28? That is build using tomcat 5.0.28 & run it on tomcat 4.1.27 (as we are not in a position to ask all our clients to have an instance of tomcat 5.0.28.