|
I apologise for this once again, but this time I think there really is a
problem.
As many of you will be aware I had a problem with my class path, this is
due to the fact that I set the JSDK2.1 servlet.jar as the
server.jar(oops). I am running Apache 1.3.9 with Jserv version
1.0. JServ needs the JSDK 2.0 to run. So I downloaded the JSDK 2.0
and set the new class path as the jsdk.jar. This however has stopped my
files from compiling. I am using jdk1.2.2, on a NT box. Sevlets
which have been compiled using jskd2.1 do run on the server, and I can't use
that work around. Is there some sort of bug, or am I doing something
obvious again ?
D:\Ballie\Project\servlets>javac
SampleServlet.java
SampleServlet.java:2: Package javax.servlet not found in import. import javax.servlet.*; ^ SampleServlet.java:3: Package javax.servlet.http not found in import. import javax.servlet.http.*; ^ SampleServlet.java:8: Superclass HttpServlet of class SampleServlet not found. public class SampleServlet extends HttpServlet ^ 3 errors D:\Ballie\Project\servlets>set
CLASSPATH=c:\jdk1.2.2\jsdk2.0\lib\jsdk.jar;d:\ballie\project\servlets\ Thanks for the help in advance...
Keith
---------------------------------------------------------------------------
Keith Ball - Praktikant AF12 Operationelle Analysen Luftwaffe IABG MbH Einsteinstr. 20 85521 Ottobrunn Phone : 0049-89-6088-2556 Email : [EMAIL PROTECTED] WWW site : www.iabg.de ---------------------------------------------------------------------------- |
- Re: Me again with another simple question (CLASSPATH PROBLE... Keith Ball
- Re: Me again with another simple question (CLASSPATH P... Chris Pratt
- Re: Me again with another simple question (CLASSPATH P... Keith Ball
- Re: Me again with another simple question (CLASSPA... Chris Pratt
- Re: Me again with another simple question (CLA... Keith Ball
- Re: Me again with another simple question ... Sascha Schmidt
- Re: Me again with another simple question ... Chris Pratt
- Re: Me again with another simple question (CLASSPATH P... Julian Flores
