servletOutputStream.println("<center><input type=\"submit\" value=\"Continue\" class=\"button\"></center>");
servletOutputStream.println("<center><input type=\"submit\" value=\"Continuar\" class=\"button\"></center>");
    private void writeForm(final ServletOutputStream servletOutputStream, final HttpSession session) throws IOException {        final String originalURI = (String) session.getAttribute("ORIGINAL_URI");        final Map<String, String[]> parameterMap = (Map<String, String[]>) session.getAttribute("ORIGINAL_PARAMETER_MAP");        final Map<String, Object> attributeMap = (Map<String, Object>) session.getAttribute("ORIGINAL_ATTRIBUTE_MAP");        final int seperatorIndex = originalURI.indexOf('?');        final int endIndex = (seperatorIndex > 0) ? seperatorIndex : originalURI.length();        servletOutputStream.println("<form method=\"get\" action=\"" + originalURI.substring(0, endIndex) + "\">");        for (final Entry<String, String[]> patameterEntry : parameterMap.entrySet()) {            final String parameterName = patameterEntry.getKey();            for (final String parameterValue : patameterEntry.getValue()) {                servletOutputStream.println("<input type=\"hidden\" name=\"" + parameterName + "\" value=\"" + parameterValue + "\">");            }        }        for (final Entry<String, Object> attributeEntry : attributeMap.entrySet()) {            final String attributeName = attributeEntry.getKey();            final Object attributeValue = attributeEntry.getValue();            servletOutputStream.println("<input type=\"hidden\" name=\"" + attributeName + "\" value=\"" + attributeValue + "\">");        }        servletOutputStream.println("<center><input type=\"submit\" value=\"Continue\" class=\"button\"></center>");        servletOutputStream.println("</form>");            }