Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 53781 invoked from network); 23 Nov 2007 06:54:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Nov 2007 06:54:11 -0000 Received: (qmail 33114 invoked by uid 500); 23 Nov 2007 06:53:58 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 33094 invoked by uid 500); 23 Nov 2007 06:53:58 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 33083 invoked by uid 99); 23 Nov 2007 06:53:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Nov 2007 22:53:58 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mwessendorf@gmail.com designates 209.85.146.182 as permitted sender) Received: from [209.85.146.182] (HELO wa-out-1112.google.com) (209.85.146.182) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Nov 2007 06:53:46 +0000 Received: by wa-out-1112.google.com with SMTP id l24so3756618waf for ; Thu, 22 Nov 2007 22:53:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=P5vrW80GNfPBwA3wL1pMwf+gLEhOUEuDj6LOGGkWLCc=; b=AUcpR46B6tlFj6uZJIBECeB99BwXQZo1AceQCv+r2fCLVOE8QkNzLW9AYpRMyCJqKILUJJihpCd+nCErnkW00GcsIiKSShsg1UYE2MaZpsaE7z+Ca4CiBgZ4B1v1+Jus/chq2UMqZre0WsF295V3FngKkf8c8ZukpucKexWO/zo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=gkMuBJ6GkV1kpMnekWCNDth2v0ST/QVNhoVhd9y5vn5MWt82YSMx7ES/WJByfhGTkKJf9SQrS1TI5FEfkqbCe+pO8p6gVqUSPIfpxtNv/WCuwiv8QcvBuDJ4JsNN3Cdk7NlavPQdqA7oQXnEWBo7XC7PYU72zFc865D877FH8VE= Received: by 10.114.75.1 with SMTP id x1mr1149454waa.1195800820371; Thu, 22 Nov 2007 22:53:40 -0800 (PST) Received: by 10.114.79.10 with HTTP; Thu, 22 Nov 2007 22:53:40 -0800 (PST) Message-ID: <71235db40711222253p4a417925k76393c74338d283e@mail.gmail.com> Date: Fri, 23 Nov 2007 07:53:40 +0100 From: "Matthias Wessendorf" Sender: mwessendorf@gmail.com To: "MyFaces Development" Subject: Re: [Trinidad] stylesheet URLs In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Google-Sender-Auth: 17e89c670c8e3cd3 X-Virus-Checked: Checked by ClamAV on apache.org > Now if I try an image in my application: > > background-image : url('/skins/osr-desktop/tab_panel_select.png'); > > I get no image. ('skins' is a top-level folder in the webroot a sibling to > WEB-INF) > > I've tried the URL starting with and without a slash - all to no avail. We use it like that as well: background-image:url("/afr/timedate_ena.png"); where /afr/ is a folder on inside the root / /index.html /aft/ .... /WEB-INF > Do I need another servlet to load these resources? What am I doing wrong? the resource-servlet, but I think you already have it configured have you tried with firebug, to check if it gives you some more infos ? -M > > > > Cheers, > > > > Mark B > > > > Mark badorrek > Consultant > SMS Management & Technology > > > F +61 3 9696 0711 > M +61 402 853 365 > mbadorrek@smsmt.com > www.smsmt.com > Level 18 IBM Centre 60 City Road Southbank VIC 3006 > About SMS: > SMS Management & Technology (SMS) [ASX:SMX] is Australia's largest, > publicly listed Management Services company. We solve complex problems and > transform business through Consulting, People and Technology > > ________________________________ > This email and any files transmitted with it are confidential and intended > solely for the use of the individual or entity to whom they are addressed. > If you received this message in error or are not the intended recipient, you > should destroy the e-mail message and any attachments or copies, and you are > prohibited from retaining, distributing, disclosing or using any information > contained herein. Please note that any views or opinions presented in this > email are solely those of the author and do not necessarily represent those > of the Company. The recipient should check this email and any attachments > for the presence of viruses. The Company accepts no liability for any damage > caused by any virus transmitted by this email. Thank you for your > cooperation. > -- Matthias Wessendorf further stuff: blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf mail: matzew-at-apache-dot-org