i know that, but i have already checked i am using the same jdk at both places (i.e. eclipse and JAVA_HOME (used by tomcat)) [ January 31, 2008: Message edited by: subodh gupta ]
Well, that's what causes that so you'll need to check again. Use the Tomcat Manager's "Server Status" page to see exactly what version of Java it's using.