I use the following to load my CSS files:
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:
.
Hope that helps.
Tim Christopher
it in web.xml, the default value is :
> > http://java.sun.com/jstl/core
> > It's defined in the c.tld taglib descriptor itself, see the uri sub
> > element.
> >
> > -Henrik
> >
> > David Johnson <[EMAIL PROTECTED]>
> > 02/28/2005 01:53 PM
> >
/jstl/core
> It's defined in the c.tld taglib descriptor itself, see the uri sub
> element.
>
> -Henrik
>
> David Johnson <[EMAIL PROTECTED]>
> 02/28/2005 01:53 PM
> Please respond to "Struts Users Mailing List"
>
> To: Struts Users Mailing
g List"
To: Struts Users Mailing List
cc:
Subject:Re: CSS and Tiles
a follow up... what's the corresponding tablib element look like for
the c.tld taglib?
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html"; prefix="htm
try this:
href="<%= request.getContextPath()%>/styles/style.css"
Shed.
-Original Message-
From: David Johnson [mailto:[EMAIL PROTECTED]
Sent: Monday, February 28, 2005 14:03
To: Struts Users Mailing List
Subject: CSS and Tiles
Hi all
I have the following director
anguage.
> >
> > -Henrik
> >
> > David Johnson <[EMAIL PROTECTED]>
> > 02/28/2005 01:03 PM
> > Please respond to "Struts Users Mailing List"
> >
> >To: Struts Users Mailing List
> >cc:
> >Subject:
5 01:03 PM
> Please respond to "Struts Users Mailing List"
>
>To: Struts Users Mailing List
>cc:
>Subject:CSS and Tiles
>
>
> Hi all
>
> I have the following directory (partial shown) structure in my
> Struts/Tiles
<[EMAIL PROTECTED]>
02/28/2005 01:03 PM
Please respond to "Struts Users Mailing List"
To: Struts Users Mailing List
cc:
Subject:CSS and Tiles
Hi all
I have the following directory (partial shown) structure in my
Struts/Tiles Web-app
Hi all
I have the following directory (partial shown) structure in my
Struts/Tiles Web-app
/webroot
/webroot/jsp
/webroot/layouts
/webroot/styles
the styles.css stylesheet is in "styles" and the layout is in ... not
surprisingly, "layouts"
What is the best way to get a reference for the CSS int
9 matches
Mail list logo