From user-return-4594-apmail-geronimo-user-archive=geronimo.apache.org@geronimo.apache.org Thu Aug 31 02:53:49 2006 Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 41921 invoked from network); 31 Aug 2006 02:53:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Aug 2006 02:53:46 -0000 Received: (qmail 37396 invoked by uid 500); 31 Aug 2006 02:53:44 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 37373 invoked by uid 500); 31 Aug 2006 02:53:44 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 37362 invoked by uid 99); 31 Aug 2006 02:53:44 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Aug 2006 19:53:44 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DATE_IN_PAST_48_96 X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [17.250.248.172] (HELO smtpout.mac.com) (17.250.248.172) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Aug 2006 19:53:43 -0700 Received: from mac.com (smtpin03-en2 [10.13.10.148]) by smtpout.mac.com (Xserve/8.12.11/smtpout02/MantshX 4.0) with ESMTP id k7V2rM4d023033 for ; Wed, 30 Aug 2006 19:53:22 -0700 (PDT) Received: from [10.200.0.104] (pool-71-241-75-81.scr.east.verizon.net [71.241.75.81]) (authenticated bits=0) by mac.com (Xserve/smtpin03/MantshX 4.0) with ESMTP id k7V2r6Es007765 for ; Wed, 30 Aug 2006 19:53:18 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <21df75940608280836od378a4doefe721d437b6f68f@mail.gmail.com> References: <21df75940608280836od378a4doefe721d437b6f68f@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <71A20FC2-4565-4ED1-B55D-C03D66CEEF70@mac.com> Content-Transfer-Encoding: 7bit From: Bob Dushok Subject: Re: Absolute paths within includes Date: Mon, 28 Aug 2006 17:38:33 -0400 To: user@geronimo.apache.org X-Mailer: Apple Mail (2.752.2) X-Language-Identified: TRUE X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Paul, I'm using the version which embeds Tomcat. I'm going to have to check my Tomcat config on my other box. I might have done something in server.xml to permit absolute addressing within includes. I'll probably just add my include directory into my application wars. There are only five apps which need access to the include folder, the small amount of code duplication shouldn't be a problem. Thanks for the reply. Bob On Aug 28, 2006, at 11:36 AM, Paul McMahan wrote: > Bob, The way I read the JSP spec it looks like Geronimo is handling > the page attribute correctly. It says that the path should be > interpreted in context of the web application. Are you using the > version of Geronimo that embeds Tomcat or Jetty? If the Tomcat > version then I would expect the results to be exactly the same to what > you see in standalone Tomcat since AFAIK Geronimo does not alter the > request before handing it off to Tomcat. > > Best wishes, > Paul > > On 8/27/06, Bob Dushok wrote: >> I'm attempting to include content using the tag. I'm >> the following code within a JSP: >> >> >> >> When the page is loaded, the message "The requested resource (/staff/ >> includes/header.html) is not available" appears. I'm specifying an >> absolute path, but Geronimo appears to be treating it as a relative >> path (my app contains /staff in >> geronimo- >> web.xml). >> >> I tried something similar using JSTL: >> >> <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> >> >> >> Again, "The requested resource (/staff/includes/header.html) is not >> available" appears when the page is loaded. >> >> I've used similar code within Tomcat without any problems. I'm new >> to Geronimo. is there something I missed in the config? Do I need >> to enable absolute path usage? >> >> Thanks, >> Bob >> >>