running servlet on tomcat5.0
843841Jan 17 2004 — edited Sep 15 2005hi,
i am using java version 1.4.2_03 and tomcat5.0, trying to run a servlet. i set the class path to c:\program files\tomcat5.0\common\lib\servlet-api.jar . is this correct? if yes, i still get a error which says,
invalid class file format:c:\program files\tomcat5.0\common\lib\servlet-api.jar(javax/servlet/http/HttpServlet.class), wrong version: 46, expected 45. now i have read in the website that tomcat supports servlet version 2.4 .does jdk1.4.2_03 come with a servlet version of 2.4 too? i dunno where i am going wrong. please help. thanx in advance.