Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 10522 invoked from network); 7 Sep 2007 04:07:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Sep 2007 04:07:52 -0000 Received: (qmail 88519 invoked by uid 500); 7 Sep 2007 04:07:45 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 88469 invoked by uid 500); 7 Sep 2007 04:07:44 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 88453 invoked by uid 99); 7 Sep 2007 04:07:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2007 21:07:44 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2007 04:07:49 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BD623714208 for ; Thu, 6 Sep 2007 21:07:28 -0700 (PDT) Message-ID: <10551893.1189138048769.JavaMail.jira@brutus> Date: Thu, 6 Sep 2007 21:07:28 -0700 (PDT) From: "lucols (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Commented: (GERONIMO-3438) context-root error In-Reply-To: <7254464.1187833711362.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-3438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12525587 ] lucols commented on GERONIMO-3438: ---------------------------------- "/" is not my expecting. In geronimo-jetty-xx ,the result is " " ,not "/" . And in tomcat the result is " " ,not "/". I mean IS NOT IMPORT that the context root is " " or "/ " , the import is geronimo-tomcat process context root is different from geronimo-jetty or tomcat , ans so when you use forward like this , the result context root is not you expecting. > context-root error > ------------------ > > Key: GERONIMO-3438 > URL: https://issues.apache.org/jira/browse/GERONIMO-3438 > Project: Geronimo > Issue Type: Sub-task > Security Level: public(Regular issues) > Components: Tomcat > Affects Versions: 2.1 > Environment: debian 3.1/4.0 > sun jdk 1.5.0_11-b03 > apache 2.0.59/2.2.4 > Reporter: lucols > > In geronimo-web.xml , I configure context-root to nothing , like this : > > thr problem is : i got then contextPath is "/" ,not expected " ", so error occur: the web container cannot right lookup the file. > you can test like this: > index.jsp: > > test.jsp: > <% > out.println("request context:"+request.getContextPath()); > %> > geronimo-web.xml: > > xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.1"> > ... > > > after deploy, test this in IE broswer: > http://hostname:8080/index.jsp -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.