Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 79741 invoked from network); 14 Nov 2003 08:43:13 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 14 Nov 2003 08:43:13 -0000 Received: (qmail 74235 invoked by uid 500); 14 Nov 2003 08:42:29 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 74214 invoked by uid 500); 14 Nov 2003 08:42: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 74199 invoked from network); 14 Nov 2003 08:42:28 -0000 Received: from unknown (HELO india-ironport-1.cisco.com) (64.104.129.195) by daedalus.apache.org with SMTP; 14 Nov 2003 08:42:28 -0000 Received: from netscape.net (64.104.129.221) by india-ironport-1.cisco.com with ESMTP; 14 Nov 2003 14:22:39 +0530 Received: from cisco.com (pilu.cisco.com [192.122.173.199]) by india-msg-core-1.cisco.com (8.12.9/8.12.6) with ESMTP id hAEEAI0s025406 for ; Fri, 14 Nov 2003 14:10:18 GMT Received: from netscape.net ([10.77.201.76]) by cisco.com (8.8.8/2.6/Cisco List Logging/8.8.8) with ESMTP id OAA05443 for ; Fri, 14 Nov 2003 14:07:33 +0530 (IST) Message-ID: <3FB49441.8040704@netscape.net> Date: Fri, 14 Nov 2003 14:07:21 +0530 From: Navanee User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Servlets -- help needed References: <003401c3aa77$5f2a1750$3a5afea9@DELL530> <3FB48025.8020704@netscape.net> <001701c3aa80$36c594c0$28d5b1c2@JKostas> In-Reply-To: <001701c3aa80$36c594c0$28d5b1c2@JKostas> Content-Type: multipart/alternative; boundary="------------000706010106050506000806" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --------------000706010106050506000806 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit I don't have any idea of how to edit the web.xml file. Any pointers would be helpful. kharvatis@mail.ekke.gr wrote: >Navanee, > >Please check and edit the \WEB-INF\web.xml file, which holds the mappings. >After that, you will only need >http://localhost/your_servlet_urlname_from_web.xml > >Kostas Harvatis >----- >National Center for Social Research - Directorate of Research Support >www.ekke.gr > > >----- Original Message ----- >From: "Navanee" >To: "Tomcat Users List" >Sent: Friday, November 14, 2003 9:11 AM >Subject: Re: Servlets -- help needed > > > > >>Schalk, >> >>I wrote a java program (HelloWWW.java) and placed the file in this path: >>C:\Program Files\jakarta-tomcat-4.1.27\webapps\examples\WEB-INF\classes >>I also compiled that java code. Compilation was successful. >> >>I tried to execute that servlet in the browser using this link : >>http://localhost:8080/examples/WEB-INF/classes/HelloWWW >> >>But it is giving 404 (file not found) error. Why is it so? >> >>How can i access these files in the browser ..? >>Means, what link should i give in the browser ? >> >>-- Navanee >> >> >> > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > > --------------000706010106050506000806--