I would try setting the classpath to be a fullpath, rather than a
relative one...

Matt Warmbir wrote:
> 
> Hi,
> 
> I've got  set classpath=.;jsdk2.2\servlet.jar, but can't compile any
> servlets. Any idea why?
> ----- Original Message -----
> From: "Pae Choi" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, April 15, 2001 14:00
> Subject: Re: javax.servlet problem
> 
> > If your classpath is correctly set for the javax.servlet.* package, did
> > you also verified that your compiler(whatever)'s context also contain
> > the classpath?
> >
> >
> > Pae
> >
> >
> > >Thank you for your help
> > >
> > >It seems it is not a typo problem(it is the mistake I made at previous
> > >message without a ";")
> > >The compiler cannot recognize the second statement "import
> > >javax.servlet.*"
> > >
> > >I cannot compile the java program with the program header start with
> > >
> > >import java.io.*;
> > >import javax.servlet.*;
> > >import javax.servlet.http.*;
> > >
> > >during the compilation, it stops with error at the above statement.
> > >
> > >I have make sure the classes are set under the correct path.
> > >
> > >Thanks!
> > >
> >

Reply via email to