Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@apache.org Received: (qmail 43201 invoked from network); 19 Nov 2002 21:52:01 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 19 Nov 2002 21:52:01 -0000 Received: (qmail 13328 invoked by uid 97); 19 Nov 2002 21:52:16 -0000 Delivered-To: qmlist-jakarta-archive-struts-user@jakarta.apache.org Received: (qmail 13301 invoked by uid 97); 19 Nov 2002 21:52:15 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 13282 invoked by uid 98); 19 Nov 2002 21:52:14 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <20021119215041.31780.qmail@webmail.speakeasy.net> Content-Disposition: inline Content-Transfer-Encoding: binary Content-Type: text/plain MIME-Version: 1.0 Date: Tue, 19 Nov 2002 13:50:41 -0800 From: cruegger@speakeasy.net To: struts-user@jakarta.apache.org Subject: getting web app context name in Struts X-Sender: cruegger@speakeasy.net X-Originating-Ip: [198.204.133.209] X-Mailer: Speakeasy Network Webmail 2.1.0 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N What is the Struts way to reference a CSS stylesheet file and Javascript files such that the web application context name will always be prepended to the files so that they resolve properly? (just like the construct prepends the context name in the generated page) For example, suppose I deploy my webapp under 2 different contexts "foo" and "bar" and I have a JSP with tags: and -- To unsubscribe, e-mail: For additional commands, e-mail: