tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Micael Padraig Og mac Grene <caraun...@harbornet.com>
Subject Re: problem compiling a servlet
Date Thu, 24 Jan 2002 21:14:01 GMT
Try catalina_home/common/lib/servlet.jar


At 02:12 PM 1/24/02 -0500, you wrote:
>----- Original Message -----
>From: "graghavan" <raghava2@sympatico.ca>
>To: "'Tomcat Users List'" <tomcat-user@jakarta.apache.org>
>Sent: Thursday, January 24, 2002 2:04 PM
>Subject: problem compiling a servlet
>
>
> > i have problem compiling a servlet; pls help out.
> > i have j2sdk1.3.1 in my 'path' and is installed alright.
> > i have tomcat 4.0.1 installed alright and many of the tests with the
> > 'examples' seem to work ok.
> > when i try compiling a servlet.java src file, the following error (using
> >
> > javac ... ) gets reported:
> >     package javax.servlet.* does not exist, etc., (it is unable to find
> > the servlet classes)
> > i tried putting catalina_home\common\lib in the 'path' because there is
> > a servlet.jar file out in there.
> > i still get the same error as above.
> > give me a hand.
> > tnx.
> > graghavan
> >[...]
>
>you need to put "path and jar-name" in CLASSPATH when you complie
>YourServlt, for example:
>
>SET CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\common\lib\servlet.jar
>
>
>Bo
>Jan242002
>
>
>
>--
>To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
>For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
>Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>



--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message