On 2 Feb 2009 at 18:36, Shaolin wrote:
Send reply to: Tomcat Users List
Date sent: Mon, 02 Feb 2009 18:36:04 +
Subject:Re: package javax.servlet does not exist import javax.servlet.*
;
From: Shaolin
To: Tomcat Users List
> It worked, but how comes I have to
> From: Shaolin [mailto:shaolinfin...@gmail.com]
> Subject: Re: package javax.servlet does not exist import
> javax.servlet.* ;
>
> It worked, but how comes I have to use classpath now and not
> when I used to do it before ?
Before what?
> is there any way of overcoming thi
ject: Re: package javax.servlet does not exist import
> > javax.servlet.* ;
> >
> > > You'll need to tell javac (or whatever IDE you're
> > > using) where the servlet-api.jar is.
> >
> > How do I do that ?
>
> For javac, use the -cp parameter; for a
> From: Shaolin [mailto:shaolinfin...@gmail.com]
> Subject: Re: package javax.servlet does not exist import
> javax.servlet.* ;
>
> > You'll need to tell javac (or whatever IDE you're
> > using) where the servlet-api.jar is.
>
> How do I do that ?
For j
if you're compiling from the console-window:
javac -help
take a look at "-classpath"
if you're using an ide, check out your ide's documentation
rgds
gregor
--
just because your paranoid, doesn't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available
do I do that ?
2009/2/2 Caldarale, Charles R
> > From: Shaolin [mailto:shaolinfin...@gmail.com]
> > Subject: Re: package javax.servlet does not exist import
> > javax.servlet.* ;
> >
> > 1. Im using 6.0.18 64 bit with windows xp 64 and Java SDK SE
> > 6 u
> From: Shaolin [mailto:shaolinfin...@gmail.com]
> Subject: Re: package javax.servlet does not exist import
> javax.servlet.* ;
>
> 1. Im using 6.0.18 64 bit with windows xp 64 and Java SDK SE
> 6 update 11 (64bit).
Did you install Tomcat from the .exe download or the .zip o
1. Im using 6.0.18 64 bit with windows xp 64 and Java SDK SE 6 update 11
(64bit).
2. I did do it just afew moments ago to see if it would work at which it
didnt so I removed it.
3. The servlet-api jar is in the tomcat lib dir and not in app lib dir
4. Didnt find the j2ee jar in the tomcat folder.
> From: Shaolin [mailto:shaolinfin...@gmail.com]
> Subject: package javax.servlet does not exist import javax.servlet.* ;
>
> The servlet jars cannot be found. I checked the tomcat lib
> dir and it was present and it looks like its something to
> do with the classpath.
1) Tell us which version of