struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roger <>
Subject Re: Dynamic include of a CSS stylesheet
Date Wed, 03 Sep 2008 11:02:10 GMT
> I often use:
> <link type="text/css" rel="stylesheet" href="/css/main.css">
> <link type="text/css" rel="stylesheet"
> href="${pageContext.request.contextPath}/css/main.css">
> <link type="text/css" rel="stylesheet" href="${initParam.css}/main.css">
> where ${initParam.css} refers to an init param in web.xml (useful if it
> needs to change with the deployment, such as a version number)

Could you point me at some code examples on how to set this up. I've a need to 
load a different style sheet depending upon either the locale of the user, or 
a user selected locale.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message