Actually I doubt that you've got the file servlet-api.jar in your classpath - it wouldn't come up with such an error-message than.
You might want to use an antscript to compile your servlet, here's a snippet from mine: <target name="compile" depends="init" description="compile servlet "> <delete dir="${servletDir}/${build}" failonerror="false"/> <mkdir dir="${servletDir}/${build}"/> <path id="java.classpath"> <fileset file="${tomcatDir}/${servletAPI}"/> </path> <echo message="compiling using javac version ${ant.java.version}"/> <javac srcdir="${servletDir}/${src}" destdir="${servletDir}/${build}" compiler="javac1.4" memoryInitialSize="512M" memoryMaximumSize="2048M" debug="true" debuglevel="${DEBUGLEVEL}" verbose="false" fork="false"> <classpath refid="java.classpath"/> </javac> </target> hth greg -- what's puzzlin' you, is the nature of my game --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]