tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hassan Schroeder <>
Subject Re: Newbie: CSS not taking effect
Date Fri, 31 Jul 2009 17:41:24 GMT
On Fri, Jul 31, 2009 at 9:19 AM, David Smith<> wrote:

> One way to handle the paths in jsps is to use something like
> ${pageContext.request.contextPath}/webapp_relative_path/to_my_resource.css.

OTOH, if you use the standard taglib to wrap all your urls, e.g.

   <a href="<c:url value='/foo.html'/>">foo</a>

they'll be both context-aware AND rewritten to use JSESSIONID for
keeping session if the client has cookies turned off.

Win-win  :-)
Hassan Schroeder ------------------------
twitter: @hassan

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

View raw message