Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E1908104E1 for ; Thu, 6 Feb 2014 10:23:43 +0000 (UTC) Received: (qmail 78349 invoked by uid 500); 6 Feb 2014 10:23:39 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 77861 invoked by uid 500); 6 Feb 2014 10:23:38 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 77844 invoked by uid 99); 6 Feb 2014 10:23:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Feb 2014 10:23:37 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of neven.cvetkovic@gmail.com designates 209.85.215.169 as permitted sender) Received: from [209.85.215.169] (HELO mail-ea0-f169.google.com) (209.85.215.169) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Feb 2014 10:23:31 +0000 Received: by mail-ea0-f169.google.com with SMTP id h10so803541eak.28 for ; Thu, 06 Feb 2014 02:23:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=LgcpBUXcWJ43srCh4FzsqgIpb4/+ZzVy4qwM6zItjK0=; b=u/WDZs2FCV7IZfxO+J/NVSDRTJJMOedHojvAMdEEbUyj0QIcqGC+DN6hWBWKen0QVk wSsPTRpdWP3+7/xVpdKKZnGxsHyP5JxEnfJAhZ99JPEcfcu4w/aKoh7pOCHeedyz7/z4 YXD2ket9kFET7bazjBhwL5m/kiQovxygSVZpgroc5TNd7/T4amDVSTDU7j2i0T74qZN9 0CRXSlxCHUR/6l8U76A1JEMkcPndAhEfN0ljXBuHaMafqeUuHcO61MiHun9AoyoVqW52 QV8J+Da5bUncX5kSTkdVzMTKjx21lXmtfN7F17apb0Gga+SYoOHhMvEZP7wZ/ivduuHU QmFQ== MIME-Version: 1.0 X-Received: by 10.14.3.72 with SMTP id 48mr7973786eeg.34.1391682190530; Thu, 06 Feb 2014 02:23:10 -0800 (PST) Received: by 10.14.115.200 with HTTP; Thu, 6 Feb 2014 02:23:10 -0800 (PST) Received: by 10.14.115.200 with HTTP; Thu, 6 Feb 2014 02:23:10 -0800 (PST) In-Reply-To: References: Date: Thu, 6 Feb 2014 05:23:10 -0500 Message-ID: Subject: Re: Http Status 404 From: Neven Cvetkovic To: Tomcat Users List Content-Type: multipart/alternative; boundary=047d7b6703119b5fd904f1ba4299 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b6703119b5fd904f1ba4299 Content-Type: text/plain; charset=ISO-8859-1 On Feb 6, 2014 9:58 AM, "Shivam Mishra" wrote: > > Hye I am using Tomcat 8.0.1 ,my operating system is Windows 8.1 and it is > 64- bit configuration .I made a folder in webapps for my servlet but I am > unable to access it Please help Shivam, Is your tomcat running? What port number? How did you start tomcat? Do you see the default application? e.g. http://localhost:8080 Typical web application would have the following folder structure: myapp/ myapp/WEB-INF/classes/com/shivamcompany/myproject/web/MyServlet.class myapp/index.jsp myapp/images/... ... You would either make a myapp.war or just copy the folder into TOMCAT_INSTALL_FOLDER_ON_YOUR_SYSTEM/webapps. Start your tomcat if it is not started. Your application should be visible from http://localhost:8080/myweb How did you compile your servlet? How is your servlet mapped? Are you using web.xml to map or annotations in the servlet code? Your servlet should be visible from http://localhost:8080/myapp/servlet_mapping and would execute doGet(...) method you defined in your servlet (if you just requested the address in the browser). Hope that helps. Good luck! --047d7b6703119b5fd904f1ba4299--