Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 9083 invoked from network); 29 Oct 2001 03:20:17 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 29 Oct 2001 03:20:17 -0000 Received: (qmail 22070 invoked by uid 97); 29 Oct 2001 03:20:23 -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 22059 invoked from network); 29 Oct 2001 03:20:22 -0000 Message-ID: <014c01c16029$61c10590$013d4641@athlon> From: "Chase" To: "Tomcat Users List" References: Subject: Re: Problems in starting up a servlet Date: Sun, 28 Oct 2001 21:25:38 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ----- Original Message ----- From: "Jovie Castaneda" To: "'Tomcat Users List'" Sent: Sunday, October 28, 2001 8:33 PM Subject: Problems in starting up a servlet > I am trying to make my servlet work at the start of tomcat > my servlet is located in the webapps/test/web-inf/classes > -in the browser you can access it through > http://localhost:8080/test/servlet/StartMe > > these are things I have done > 1.Edit web.xml in the conf directory > I added the following: webs apps get searched for and automatically loaded, you don't really need to do this. Atleat I know they do with the latest Tomcat... > I also edited the web.xml located in /webapps/test did you leave off here "WEB-INF" ? > with the following: > > StartMe > StartMe > > > StartMe > /StartMe > When you specify a url-pattern, you are specifying the virtual location in the webapp. The url would look like http://localhost:8080/test/StartMe . You could just leave out the web.xml and access the servlet via the first url you were trying. -Chase -- To unsubscribe, e-mail: For additional commands, e-mail: