response.encodeURL not working in a custom JSP tag
843835Feb 5 2003 — edited Feb 6 2003Hi, I have developed a simple <dom:encodeURL href="/path/to/Servlet" /> tag that is meant to encode the URL using response.encodeURL.
In my tag I simply have;
HttpServletResponse response = (HttpServletResponse)pageContext.getResponse();
response.encodeURL(href);
pageContext.getOut().print(href);
However, this is not encoding the url at all and no jsessionid is being put into the URL.
Anyone know why?