Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 49170 invoked from network); 16 Jan 2003 22:50:30 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 16 Jan 2003 22:50:30 -0000 Received: (qmail 7355 invoked by uid 97); 16 Jan 2003 22:51:28 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 7325 invoked by uid 97); 16 Jan 2003 22:51:26 -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 7308 invoked by uid 98); 16 Jan 2003 22:51:26 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <20030116225004.18917.qmail@web14001.mail.yahoo.com> Date: Thu, 16 Jan 2003 14:50:04 -0800 (PST) From: steven melendez Subject: Re: new web application - inconsistent resource not found To: Tomcat Users List In-Reply-To: <048401c2bda9$eb74fab0$01000001@Will> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Thanks for responding. I can add a bit of detail. What I have is a couple of jsp files and a couple of servlets. I put them in the examples directory, the jsp in the top level, and the servlets in the web-inf/classes directory. I do not edit the web.xml in this directory, and the application works. I move to another directory, and set up the same structure, but with a new web.xml file - it is the bare minimum one found in webapps/ROOT/web-inf. Since I didn't add my servlets to the web.xml in the examples directory and the servlets worked fine, I am wondering why they don't work (or very inconsistently) in the new directory, even if i now add them to the web.xml similarly to this: AddToSC cart.AddToSCServlet any more ideas would again be appreciated. --- Will Hartung wrote: > > From: "steven melendez" > > Sent: Thursday, January 16, 2003 1:15 PM > > Subject: new web application - inconsistent > resource not found > > > > I am not using server.xml to set up new contexts - > > simply creating a new directory in webapps. I am > > finding this a bit frustrating, as I restart > tomcat, > > restart my machine, and can't get it back, but > then > > suddenly it will just work again. I'm having no > > problems in the examples directory - I can always > > access this content when I am having problems with > > other directories in webapps. > > Are you just directly playing with the directory, or > are you closely > following the WAR structure for you apps (with > WEB-INF, web.xml, et al)? > > Without more detail it is hard to say, but I would > ensure that your app > followings the WAR structure first, and then start > from there to debug it. > > Regards, > > Will Hartung > (willh@msoft.com) > > > > > -- > To unsubscribe, e-mail: > > For additional commands, e-mail: > > __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: For additional commands, e-mail: