Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 95904 invoked from network); 27 Jun 2002 17:37:47 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by 209.66.108.5 with SMTP; 27 Jun 2002 17:37:47 -0000 Received: (qmail 9095 invoked by uid 97); 27 Jun 2002 17:37:28 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 9073 invoked by uid 97); 27 Jun 2002 17:37:28 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 9061 invoked by uid 98); 27 Jun 2002 17:37:27 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Date: Thu, 27 Jun 2002 12:37:17 -0500 (CDT) From: Milt Epstein X-X-Sender: To: Tomcat Users List Subject: Re: Tomcat classpath? In-Reply-To: <014201c21dfe$75319e80$69f72dc7@BAMBI> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: 209.66.108.5 1.6.2 0/1000/N X-Spam-Rating: 209.66.108.5 1.6.2 0/1000/N On Thu, 27 Jun 2002, David Thielen wrote: > I tried CATALINA_HOME\webapps\ROOT\WEB-INF\classes\net\windward\*.class (my > package is net.windward) > I tried CATALINA_HOME\webapps\WEB-INF\classes\net\windward\*.class > I tried CATALINA_HOME\webapps\_\WEB-INF\classes\net\windward\*.class Did you try using the Context you have in the previous message, i.e. *and* putting all the WEB-INF stuff below c:\Inetpub\wwwroot? Also, I wonder if the above context path should be "", that's what Tomcat 4.0.X has in the server.xml it comes with to point to ROOT. > I also added: > > > And then created > CATALINA_HOME\webapps\apps\*.jsp > and > CATALINA_HOME\webapps\apps\WEB-INF\classes\net\windward\*.class I don't see anything wrong with this, it looks like it should work. This all makes me wonder if something else is wrong. How is the jsp looking for the class file? For example, is it using the full package name? > In all these cases I can get ot the .jsp file but the jsp file > cannot find the java .class files. > > I am doing no web.xml file because I have no servlets or anything > else like that. Just jsp files and classes for them to access. I think that should be OK, and if it's finding the servlets/jsps OK, that should indicate it's OK. > ----- Original Message ----- > From: "Milt Epstein" > To: "Tomcat Users List" > Sent: Thursday, June 27, 2002 11:04 AM > Subject: Re: Tomcat classpath? > > > > On Thu, 27 Jun 2002, David Thielen wrote: > > > > > What's the context when I have: > > > > > > > > privileged="true"/> > > > > > > I tried ROOT, nothing, "_" - none of them worked. > > > > What do you mean when you say you "tried ROOT, ...", where did you try > > it? And when you say they didn't work, what do you mean? It didn't > > find the servlets/jsps, or it didn't find the classes/jars? What URL > > did you try? Anything relevant in the logs? > > > > I'd *think* that the path attribute above is just to tell Tomcat how > > to match URLs to resources (e.g. servlets/jsps). > > > > And I'd think that you can have WEB-INF under c:\Inetpub\wwwroot (and > > lib and classes under WEB-INF). > > > > > > > ----- Original Message ----- > > > From: "Milt Epstein" > > > To: "Tomcat Users List" > > > Sent: Thursday, June 27, 2002 10:31 AM > > > Subject: Re: Tomcat classpath? > > > > > > > > > > On Thu, 27 Jun 2002, David Thielen wrote: > > > > > > > > > Hi; > > > > > > > > > > Where do I place jar files or where in the tomcat configuration do I > > > > > tell it of a jar file to use with my jsp? > > > > > > > > > > Also, can I just do .class files in a directory or must it be a jar > > > > > file? (And if so, how do I set that?) > > > > > > > > If you're talking about context specific stuff, jars go in > > > > .../WEB-INF/lib and classes in > > > > .../WEB-INF/classes (don't forget to include the complete > > > > package hierarchy in the classes subdirectory). > > > > > > > > You don't set the classpath for this stuff, it all works > > > > automatically. Milt Epstein Research Programmer Systems and Technology Services (STS) Campus Information Technologies and Educational Services (CITES) University of Illinois at Urbana-Champaign (UIUC) mepstein@uiuc.edu -- To unsubscribe, e-mail: For additional commands, e-mail: