Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 7563 invoked from network); 13 Dec 2004 13:17:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 13 Dec 2004 13:17:47 -0000 Received: (qmail 90771 invoked by uid 500); 13 Dec 2004 13:16:23 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 90747 invoked by uid 500); 13 Dec 2004 13:16: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 90734 invoked by uid 99); 13 Dec 2004 13:16:23 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=FROM_ENDS_IN_NUMS,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of antonypaul24@gmail.com designates 64.233.184.207 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.207) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 13 Dec 2004 05:16:20 -0800 Received: by wproxy.gmail.com with SMTP id 70so873851wra for ; Mon, 13 Dec 2004 05:16:11 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=ULttuyOcFIJ71tQJMpARJ2ZvuSjtgCS+NZebLbb4nYMH34Kw15Y7jpnJbDUY2GKKPA+WJKWkVTld/MUSwtn/RMDKdvOdfUMsJOx/LXlo3k+bg/O8K/ixtUeEEKXKnsqCruf9JoKEzW/0dWoV6C5Ywb+4E/8X+LdLTBGG5RGvA3U= Received: by 10.54.5.60 with SMTP id 60mr1672912wre; Mon, 13 Dec 2004 05:15:06 -0800 (PST) Received: by 10.54.31.50 with HTTP; Mon, 13 Dec 2004 05:15:06 -0800 (PST) Message-ID: <2989532e041213051563782996@mail.gmail.com> Date: Mon, 13 Dec 2004 18:45:06 +0530 From: Antony Paul Reply-To: Antony Paul To: Tomcat Users List Subject: Re: New Babie query - pls pls help me In-Reply-To: <007a01c4e114$ee4ff6f0$b37974cb@cssmainserver> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <007a01c4e114$ee4ff6f0$b37974cb@cssmainserver> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N You need to create a mapping in web.xml to invoke the servlet. Look at the elements and elements in the example/WEB-INF/web.xml. Create a similar one and restart Tomcat. rgds Antony Paul On Mon, 13 Dec 2004 21:09:07 +0800, Manisha Sathe wrote: > Hi, > > I am totally totally new to Servlet/Tomcat. I wrote a very simple > "HelloWorld" servlet. I could compile it and could create the > HelloWorld.class file. > > But how to test it thr Tomat web server ? I put the class inside servlet > example dir > C:\jakarta-tomcat-5.0.28\webapps\servlets-examples\WEB-INF\classes > But whe tried to run it like > http://localhost:8080/servlets-examples/servlet/HelloWorld > > always i get description The requested resource > (/servlets-examples/servlet/HelloWorld) is not available. > > I tried to start-stop/reload the tomcat servlet-example but still the same, > i understand i need to change some files - but can any body tell stepwise > instructions ? Pls pls help me I am stuck.... > > Thanks in advance > Manisha > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org