---------------------------------------------------------------- BEFORE YOU POST, search the faq at <http://java.apache.org/faq/> WHEN YOU POST, include all relevant version numbers, log files, and configuration files. Don't make us guess your problem!!! ---------------------------------------------------------------- > Hello, > > I installed ApacheJServ 1.1b3, on linux 2.2.12, with > java version "1.2" Classic VM (build Linux_JDK_1.2_pre-release-v2, > native threads, sunwjit), JSDK2.0 (jsdk20-solaris2-sparc.tar.Z), > apache 1.3.9. The Jserv seems to be working fine, it runs the test > servlets that came with Jserv. > > My problem is that when I try to compile examples servlets from > java.sun.com i get this errors: -SNIP- > The same happens with all codes.java that calls javax.servlet.*. > I can not locate that file in my server. The closest thing I see is > in the ../JSDK2.0/doc/apidoc has some files named as > javax.servlet.*.html. > I know this is not what the compiler is looking for, since > they are all > .html. > > Do I need to download or compile anything else so I can have > access to the > import files "javax.servlet.*". No, search a file named servlets.jar in the installation path of your JSDK2.0. There should be a directory named 'lib' with the servlet.jar in it. Put this file in your classpath and in your jserv.properties file in the wrapper.classpath - entry. PS: Perhaps the filename is different in JDSK2.0, look in the jar-archieves, then you can see if the javax.servlet Package is in it. Try import javax.servlet.http.*; also. Regards Clemens Viehl -- -------------------------------------------------------------- Please read the FAQ! <http://java.apache.org/faq/> To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Archives and Other: <http://java.apache.org/main/mail.html> Problems?: [EMAIL PROTECTED]
