Just a question about CLASSPATH... I have mine setup very similar to the example below. in .bashrc, export CLASSPATH=$CLASSPATH:/var/tomcat4/common/lib/servlet.jar:/var/tomcat4/common /lib/cos.jar The first path "$CLASSPATH" appears to be an empty one because when I do a printenv I get CLASSPATH=:/var/tomcat4/common/lib/servlet.jar:/var/tomcat4/common/lib/cos.j ar should CLASSPATH be defined somewhere else? I just put the $CLASSPATH in because it was in the example. should I be defining these environment variables somewhere other than my homepath /.bashrc? Everything appears to be working ok as is at the moment, but I would like to work something out where I don't have to login and manually start Tomcat. I know I don't have to do this for Apache. Is there a place I can set all this stuff to load upon boot? Thanks
-----Original Message----- From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Sourabh Kulkarni Sent: Friday, January 25, 2002 12:41 PM To: [EMAIL PROTECTED] Subject: Re: Servlets not Compiling you need to set classpath to include j2ee.jar file. the syntax should be similar to export CLASSPATH=$CLASSPATH$:/usr/java/j2sdkee1.3.1/lib/j2ee.jar (check your installation directory for j2ee) hope this helps, -sourabh ----- Original Message ----- From: mike dizon <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 25, 2002 10:10 PM Subject: Servlets not Compiling > Hello, > > I'm now working in a Linux environment. I am having problems compiling my > servlets. It is telling me that the javax.servlet package can not be found. > Can anyone tell me why this is happening? I am quite sure that I have the > J2EE SDK installed v. 1.3.1. Do I need to install the servlet packages > separatley? > > Michael > > > _________________________________________________________________ > MSN Photos is the easiest way to share and print your photos: > http://photos.msn.com/support/worldwide.aspx > > ___________________________________________________________________________ > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
