On Fri, Jul 31, 2009 at 9:19 AM, David Smith<d...@cornell.edu> 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 ------------------------ hassan.schroe...@gmail.com
twitter: @hassan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to