Hi, Newbie here,
I'm not sure why I'd be getting these compilation errors. I see my tomcat server at http://localhost/. The http://www.coreservlets.com/Apache-Tomcat-Tutorial/ seems to tell me it's my classpath, but *I* think I have my jar files properly in my classpath. See this following shell transcript. Thanks, Bagus > id uid=0(root) gid=0(wheel) groups=0(wheel), 5(operator) > echo $CLASSPATH .:/www/my_tomcat_apps:/usr/local/jakarta-tomcat-5.4.4/common/lib/servlet-api .jar:/usr/local/jakarta-tomcat-5.5.4/common/lib/jsp-api.jar > ls /usr/local/jakarta-tomcat-5.5.4/common/lib/jsp-api.jar /usr/local/jakarta-tomcat-5.5.4/common/lib/jsp-api.jar > ls /usr/local/jakarta-tomcat-5.5.4/common/lib/servlet-api.jar /usr/local/jakarta-tomcat-5.5.4/common/lib/servlet-api.jar > pwd /usr/www/my_tomcat_apps > ls -al HelloServlet.java -rw-r--r-- 1 bagus staff 955 Feb 18 09:04 HelloServlet.java > javac HelloServlet.java elloServlet.java:2: package javax.servlet does not exist import javax.servlet.*; ^ HelloServlet.java:3: package javax.servlet.http does not exist import javax.servlet.http.*; ^ HelloServlet.java:13: cannot resolve symbol symbol : class HttpServlet location: class HelloServlet public class HelloServlet extends HttpServlet { ^ HelloServlet.java:14: cannot resolve symbol symbol : class HttpServletRequest location: class HelloServlet public void doGet(HttpServletRequest request, ^ HelloServlet.java:15: cannot resolve symbol symbol : class HttpServletResponse location: class HelloServlet HttpServletResponse response) ^ HelloServlet.java:16: cannot resolve symbol symbol : class ServletException location: class HelloServlet throws ServletException, IOException { ^ 6 errors --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]