Relative paths in templates linking to style sheets and images don't work.

"Elankath, Tarun (Cognizant)" <[email protected]> Mon, 24 Feb 2003 07:46:31 -0000
Newsgroups gmane.comp.java.tapestry.devel
Message-ID <ED5E2A9386A4D411BCC900508BF7E43D019F83AD@CTSINBLRSXUA>
This is a multi-part message in MIME format.

------=_NextPartTM-000-3c38ba9f-31a1-426f-b161-cfc6341cc92f
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi tapestry gurus,

I have templates that refer to stylesheets and images using relative =
paths such as styles/site_common.css and images/logo.jpg. I have these =
directories (and their files) present in the WAR file as well.

But these don't get included in the resulting page. Do I have to create =
an asset for every style-sheet and image used ? That would be extremely =
tedious and I don't want to modify the html templates either.=20


All help appreciated,
Tarun

------=_NextPartTM-000-3c38ba9f-31a1-426f-b161-cfc6341cc92f
Content-Type: text/plain;
	name="InterScan_Disclaimer.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="InterScan_Disclaimer.txt"

This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly
prohibited and may be unlawful.

		Visit us at http://www.cognizant.com

------=_NextPartTM-000-3c38ba9f-31a1-426f-b161-cfc6341cc92f--


-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge