tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kris Schneider <>
Subject Re: <c:url> question
Date Wed, 17 Sep 2003 20:48:03 GMT
The next time you hit the page it works though, right? If you're tracking
sessions via cookies, subsequent responses won't need to do URL rewriting. It
actually looks like it's a server bug. Hitting;jsessionid=foo

works just fine (SunONE WebServer 6.0), whereas hitting;jsessionid=foo

results in a 404 (Apache/2.0.48-dev (Unix)). Same here ;-) (Microsoft-IIS/6.0);jsessionid=foo

You might try something like:

<body background="<c:out

Quoting Michael Duffy <>:

> I'm following the recommendations laid out by Shawn
> Bayern in "JSTL In Action", but I've run into a snag.
> On page 136, Shawn recommends using the <c:url> tag
> for referring to a directory named images in a Web
> application:
> <body background="<c:url value='/images/gray.jpg'/>">
> <!-- other HTML stuff in here
> </body>
> When I ask Tomcat to send this page, the background is
> not there.  When I View Source to look at the HTML, I
> see this:
> <body
> Looks to me like that jsessionid is making it so I
> can't find the background.  How do I get rid of it? 
> Thanks - MOD

Kris Schneider <>
D.O.Tech       <>

View raw message