is tomcat version matters..............
i have written a javascript in a jsp to populate a combobox based on the selection of the other combobox... it is working fine in Tomcat 4.0 but the same code wen we run in Tomcat 5.0 is not working at all.... can any one tell me whether the tomcat version matters.....
# 1
Well, aparently it does...
Tomcat 5 uses a different compiler (the Eclipse one) by default, where Tomcat 4 used your JAVA_HOME JDK to compile stuff. I forget if it is Tomcat 5 or 5.5 which is default-configured to use Java 5.0 as opposed to Java 1.4. Tomcat 5 is also designed to use the J2EE 1.4 specifications.
If any of this matters to your code, I haven't a clue. I guess it would depend on what you meant by 'doesn't work'.
# 2
javascript should not be affected at all regardless of which container you are using. As far as Tomcat is concerned the javascript is just template text.Having said that, the easiest way for us to help would be to post the code on the JSP.