Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 30591 invoked from network); 25 Apr 2009 05:22:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Apr 2009 05:22:05 -0000 Received: (qmail 51991 invoked by uid 500); 25 Apr 2009 05:22:01 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 51908 invoked by uid 500); 25 Apr 2009 05:22:01 -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 51897 invoked by uid 99); 25 Apr 2009 05:22:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Apr 2009 05:22:01 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Apr 2009 05:21:51 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LxaKQ-0005En-P3 for users@tomcat.apache.org; Fri, 24 Apr 2009 22:21:30 -0700 Message-ID: <23228707.post@talk.nabble.com> Date: Fri, 24 Apr 2009 22:21:30 -0700 (PDT) From: dfobox To: users@tomcat.apache.org Subject: Re: Browser shows source of .jsp file. Why? In-Reply-To: <23226583.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: dfobox@gmail.com References: <23226583.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org answer is pretty simple "NOTE: If your domain name is NOT pointing to our service yet you will need to add your domain name and your server IP in your local hosts file in order for you to be able to access your JSP pages since otherwise the Tomcat will not render the context for your domain. For more info on how to include your domain/IP in your local computer's hosts file please check: http://en.wikipedia.org/wiki/Hosts_file" I've just added a line to hosts file to substitute my domain name by ip address -- View this message in context: http://www.nabble.com/Browser-shows-source-of-.jsp-file.-Why--tp23226583p23228707.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org