response.sendRedirect(builder.toString());
response.sendRedirect( response.encodeRedirectURL(builder.toString()) );
    public void execute(HttpServletRequest request, HttpServletResponse response)        throws ServletException, IOException {        String path = getPath();        if (this.prependContext) {            path = request.getContextPath() + path;        }        // Use a UrlBuilder to munge in any parameters        UrlBuilder builder = new UrlBuilder(path);        if (this.includeRequestParameters) {            builder.addParameters(request.getParameterMap());        }        builder.addParameters(this.parameters);        response.sendRedirect(builder.toString());    }