struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Christopher <tim.christop...@gmail.com>
Subject Re: CSS and Tiles
Date Tue, 01 Mar 2005 00:46:52 GMT
I use the following to load my CSS files:

<link rel="stylesheet" type="text/css" href="<sslext:rewrite
forward='baseStyle'/>"/>

Note: If you do not use sslext then use html:rewrite instead of sslext:rewrite.

This method requires the path to the CSS file to be stored within the
struts config file so it can be easily updated, i.e:
<forward name="baseStyle" path="/assets/styles/global.css"/>.

Hope that helps.

Tim Christopher

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message