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 0241ECD9A for ; Wed, 6 Jun 2012 01:38:00 +0000 (UTC) Received: (qmail 20027 invoked by uid 500); 6 Jun 2012 01:37:57 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 19873 invoked by uid 500); 6 Jun 2012 01:37:57 -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 19863 invoked by uid 99); 6 Jun 2012 01:37:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jun 2012 01:37:57 +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 dharmshila.k@gmail.com designates 209.85.160.173 as permitted sender) Received: from [209.85.160.173] (HELO mail-gh0-f173.google.com) (209.85.160.173) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jun 2012 01:37:52 +0000 Received: by ghrr14 with SMTP id r14so5759374ghr.18 for ; Tue, 05 Jun 2012 18:37:32 -0700 (PDT) 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=IEyMEWFnU03G5nilM1eUNLF0ymnA9r/bSHMva6xgouk=; b=MdUImod/yjELMcKKdUVv1LKngQcqGlwJuU2rF93mjC3G5MNdnKnKAzpd31tAaMrWLs IDvqIrE+r4NQZmshP+BaN3wVhsZSj2rCZBMFMRMjhts4XtlmcdRsqBESftj1T/zdHPg5 sNZkVojrI6oAacaNLa5laTK6pMivCp8Ae2khIch37zF7IuAxXaKOUh+j552vFKq3rPL0 QMTXh8GbXZhMZwJix228MackFOywC0aGWz4nGhbex88IV1QuvuruIxD2vXnoVyeGNm1H h42NzTMeoqJb35wgxkVkmj+3493wCzGNCyOFDOMjQ/dUwJBwDvw58mVKswQ81PbRi9JR FMUw== MIME-Version: 1.0 Received: by 10.50.219.226 with SMTP id pr2mr5056584igc.51.1338946652059; Tue, 05 Jun 2012 18:37:32 -0700 (PDT) Received: by 10.50.160.135 with HTTP; Tue, 5 Jun 2012 18:37:32 -0700 (PDT) In-Reply-To: <1338943422.19846.1008.camel@dellberry> References: <1338934870.19846.999.camel@dellberry> <1338943422.19846.1008.camel@dellberry> Date: Tue, 5 Jun 2012 21:37:32 -0400 Message-ID: Subject: Re: "/" getting added to action path From: Dharamshila Khandelwal To: Tomcat Users List Content-Type: multipart/alternative; boundary=f46d042dfcd591b6ff04c1c3cfc3 X-Virus-Checked: Checked by ClamAV on apache.org --f46d042dfcd591b6ff04c1c3cfc3 Content-Type: text/plain; charset=ISO-8859-1 Tim, It worked fine with IE 6. Tomcat logs clearly say that the path is invalid. Wierd this is that when the screen is loaded for the first time, it works fine. If I click on save (which makes a call to servlet) , it starts giving invalid path error. I know that its not a tomcat issue, but is there any configuration I need to change to make sure that the paths are always taken relative to base context? Thanks, DS. On Tue, Jun 5, 2012 at 8:43 PM, Tim Watts wrote: > Does it work ok with other non-IE browsers? > > After my 1st reply it occurred to me that that path in the TomCat log > may possibly be relative to /uom. Are you using Struts in the webapp? > That RequestProcessor I think is a Struts component? Just a possibility > to eliminate before deciding it's a browser issue. So far, however, > nothing seems to indicate a problem in your TomCat set up. > > > On Tue, 2012-06-05 at 20:19 -0400, Dharamshila Khandelwal wrote: > > Tim, > > > > Yes you are right. I don't see any base tag in the offending page. This > > started happening in IE 8. With IE 6, it works fine. > > > > Thanks, > > DS. > > > > On Tue, Jun 5, 2012 at 6:21 PM, Tim Watts wrote: > > > > > On Tue, 2012-06-05 at 17:37 -0400, Dharamshila Khandelwal wrote: > > > > Hi, > > > > > > > > I am doing testing of a web application on IE 8. > > > > I am not able to load any images, css, etc. because "/" is getting > added > > > in > > > > front of action path. > > > > > > > > For example, when trying to load the following script, > > > > > > > > It gives me the following error in tomcat logs: > > > > [ERROR] RequestProcessor - -Invalid path /include/mm_menu.js was > > > requested > > > > > > > > The document base is /uom. Instead of finding this script under > /uom, its > > > > finding it under /. > > > > > > > So in IE the HTML shows > > > > > > src="include/mm_menu.js" > > > > > > but TomCat gets a request for > > > /include/mm_menu.js > > > > > > Is that right? > > > > > > Does the offending page use a tag? > > > > > > > > > > I am not sure how to fix this problem, can someone please help? > > > > > > > > Thanks, > > > > DS. > > > > > > > > --f46d042dfcd591b6ff04c1c3cfc3--