{
HttpServletRequest req = (HttpServletRequest) pageContext.getRequest();
// call encodeURL to preserve session id when cookies are disabled
String encodedHref = ((HttpServletResponse) this.pageContext.getResponse()).encodeURL(StringUtils
.defaultString(req.getContextPath() + value));
this.href = new DefaultHref(encodedHref);
}