On Fri, Jul 31, 2009 at 9:19 AM, David Smith<[email protected]> 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 ------------------------ [email protected]
twitter: @hassan
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]