Add servlet.jar to your classpath:
CATALINA_HOME/common/lib/servlet.jar

You do this with an Ant task if you're using Ant.

Garrett

--- Julius Davies <[EMAIL PROTECTED]> wrote:
> 
> Brian Brookwell,
> 
> Officially, you need J2EE (Java 2, Enterprise Edition).  Go to
> http://java.sun.com to download it.  After installing J2EE you'll find a jar
> file called "j2ee.jar" which contains everything you need to compile
> servlets.
> 
> Personally, I just dip into $TOMCAT/common/lib and use the jar files in
> there.  For my own web applications I tend to need "servlet.jar",
> "activation.jar" and "mail.jar".  These are just subsets of "j2ee.jar".
> 
> yours,
> 
> Julius Davies, Programmer, CUCBC
> Email: [EMAIL PROTECTED], Ph: 604.730.6385
> 
> 
> 
> 
> > -----Original Message-----
> > From: Brookwell Brookwell [mailto:BrookwellB@;MacEwan.ca]
> > Sent: Tuesday, October 29, 2002 10:17 AM
> > To: [EMAIL PROTECTED]
> > Subject: JAR Files needed
> > 
> > 
> > This is the first time I've tried getting a servlet running 
> > under Linux.  We're using TOmcat and I'd like to know what 
> > JAR files are needed tocompile the servlet.
> > 
> > Brian Brookwell
> > 
> > 
> > --
> > To unsubscribe, e-mail:   
> > <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> > For additional commands, e-mail: 
> > <mailto:tomcat-user-help@;jakarta.apache.org>
> > 
> > 
> 
> --
> To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
> 


=====
http://dhtmlkitchen.com/
JSP | Servlets | DHTML 

Garrett Needs A Job

__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to