Felix Meschberger wrote:
Hi,Am Donnerstag, den 10.01.2008, 08:39 +0000 schrieb [EMAIL PROTECTED]:Add context path to links. ... - pw.print("<a href=\"" + page.getPath() + ".html\">"); + pw.print("<a href=\"" + request.getContextPath() + page.getPath() + ".html\">");Shouldn't this be handled by HttpServletResponse.encodeURL(String url) ?
No, afaik, encodeURL() only handles apending the session id. Carsten -- Carsten Ziegeler [EMAIL PROTECTED]
