This is what I use:

<link rel="stylesheet" type="text/css"
         href="<html:rewrite page='/stylesheets/Style.jsp'/>">

Then in Style.jsp, you can do any logic you need to tailor the 
stylesheet.  It's not especially sophisticated, but the bottom line concept 
is that your stylesheet need not be static text.


Mike

At 02:43 PM 2/27/2001, you wrote:

>We specify CSS files in our JSP output with the HTML <link> tag.  The
>precise CSS files referenced should sometimes be different depending on
>locale and a concept of brand within our application. I could easily write
>my own JSP tag to do this but I was wondering if struts already offered
>something along these lines? If nothing else, I could build upon struts
>syntax in my own tag...
>
>Bern McCarty
>Bentley Systems, Inc.

Reply via email to