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 4F8A69091 for ; Mon, 14 May 2012 23:57:54 +0000 (UTC) Received: (qmail 71757 invoked by uid 500); 14 May 2012 23:57:51 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 71676 invoked by uid 500); 14 May 2012 23:57:51 -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 71666 invoked by uid 99); 14 May 2012 23:57:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 May 2012 23:57:50 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.216.173] (HELO mail-qc0-f173.google.com) (209.85.216.173) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 May 2012 23:57:43 +0000 Received: by qcsc20 with SMTP id c20so4969341qcs.18 for ; Mon, 14 May 2012 16:57:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:organization:user-agent:mime-version:to :subject:content-type:content-transfer-encoding:x-gm-message-state; bh=5hNSF/1Q0YmE6JlaCTZW/maUFKoPljsdo5Yf7TLGc4A=; b=GaAYInAG36zx8/Sb9G/2bpbzivM4ou7IL1xwJMh7l5zH78/88MPWb6xcLD+gCZXfMg tKKv14zvGVZhRuHXY8YX/pmD/7XrlCvhGtOdhnYjHsYQbrid1D2KEfx4ktMOfSymM4pW kj7lXkdj1PCVwGZGhVgd7HWyINwJpSB+Db5I5NfE62hGcg7uKy807S7QY4QwITvcg3pP 9AxS30THpOcXRTE0bI8x0dMcp+HrNMhxI4txEudqnMAtnm//jj/NZBZIWbfvSeKMZ1u2 9iF2GVAa7i6xcWCXFMdDfazZMRNrb7WqJESDPyXok5Mk7Bug4yxVnhvrRH4ZXg3YGP+Y HLmw== Received: by 10.224.18.195 with SMTP id x3mr16087916qaa.60.1337039842093; Mon, 14 May 2012 16:57:22 -0700 (PDT) Received: from [192.168.1.6] (c-68-45-12-151.hsd1.nj.comcast.net. [68.45.12.151]) by mx.google.com with ESMTPS id ch15sm42367597qab.18.2012.05.14.16.57.20 (version=SSLv3 cipher=OTHER); Mon, 14 May 2012 16:57:21 -0700 (PDT) Message-ID: <4FB19BDF.6060205@poonam.org> Date: Tue, 15 May 2012 05:27:19 +0530 From: Kiran Badi Organization: www.poonam.org User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Tomcat Users List Subject: Links not resolving to their correct path in TC 7.0.27 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQnwcflHrKzC2xF3mnQLkQZedI6FcDVmt/j9kuoZcrDcLGeLa2+wOlhOX7Nusd0PHFSeDNNQ Hi, I have installed tomcat 7.0.27 on Windows Home premium 32 bit system with JDK 1.6.32. The tomcat is running successfully as service.I can access the home page of tomcat along with manager application. I deployed my application war file via manager application.The war file was pulled from netbeans dist folder. Now when I access my this application via IE,I do below steps, 1. I open this http://localhost:8082/xxx/index.jsp in IE. it works fine, In index page I have several links, for example testservice.jsp 2. so when I click on testservice link, it looks like http://localhost:8082/xxx/testservice.jsp in address bar and page opens fine in IE.No issues in IE. Now the real problem comes when I try to repeat the steps in Firefox and chrome, Step 1 works fine,no issues everything works as expected and index page comes up,but when it comes to step 2, the address changes to http://localhost:8080/xxx/testservice.jsp . now I am not sure as why FF /Chrome are not sticking to the same ports as IE. I have 8080 tied up with netbean and it has Tomcat 7.0.11 but its not running as service. Also I have static custom error page 404 which resolves correctly in 7.0.27 in all three browsers. Can some one tell me what that I am missing now ? PS: This is how I have links in index page,
  • testservice
  • and all jsp resides in web pages folder.I know this gives direct access to JSP and is bad practice,but thats the seperate task to do in my list. - Kiran --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org