package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;

public final class index_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent {

  private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();

  private static java.util.List _jspx_dependants;

  private javax.el.ExpressionFactory _el_expressionfactory;
  private org.apache.AnnotationProcessor _jsp_annotationprocessor;

  public Object getDependants() {
    return _jspx_dependants;
  }

  public void _jspInit() {
    _el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
    _jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
  }

  public void _jspDestroy() {
  }

  public void _jspService(HttpServletRequest request, HttpServletResponse response)
        throws java.io.IOException, ServletException {

    PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;
    PageContext _jspx_page_context = null;


    try {
      response.setContentType("text/html");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			null, true, 8192, true);
      _jspx_page_context = pageContext;
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
      out.write("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n");
      out.write("<html xmlns=\"http://www.w3.org/1999/xhtml\">\n");
      out.write("<head>\n");
      out.write("\t<title>Hello World!</title>\n");
      out.write("\t<meta http-equiv=\"Content-Type\" content=\"application/xhtml+xml; charset=UTF-8\" />\n");
      out.write("\t<style type=\"text/css\">\n");
      out.write("\t.openid_identifier {\n");
      out.write("\t\twidth:300px;\n");
      out.write("\t}\n");
      out.write("\t</style>\n");
      out.write("</head>\n");
      out.write("<body>\n");
      out.write("\t<div>\n");
      out.write("\t\t<fieldset>\n");
      out.write("\t\t\t<legend>Sample 1:</legend>\n");
      out.write("\t\t\t<form action=\"consumer\" method=\"post\">\n");
      out.write("\t\t\t\t<div>\n");
      out.write("\t\t\t\t\t<input type=\"text\" name=\"openid_identifier\" class=\"openid_identifier\" />\n");
      out.write("\t\t\t\t\t<input type=\"submit\" name=\"login\" value=\"Login\" />\n");
      out.write("\t\t\t\t</div>\n");
      out.write("\t\t\t</form>\n");
      out.write("\t\t</fieldset>\n");
      out.write("\n");
      out.write("\t\t<fieldset>\n");
      out.write("\t\t\t<legend>Sample 2: using the Simple Registration extension(doc: <a href=\"http://code.google.com/p/openid4java/wiki/SRegHowTo\">SRegHowTo</a>)</legend>\n");
      out.write("\t\t\t<form action=\"consumer\" method=\"post\">\n");
      out.write("\t\t\t\t<div>\n");
      out.write("\t\t\t\t\t<input type=\"text\" name=\"openid_identifier\" class=\"openid_identifier\" />\n");
      out.write("\t\t\t\t\t<br />\n");
      out.write("\t\t\t\t\t<input type=\"checkbox\" name=\"nickname\" value=\"1\" id=\"nickname\" checked=\"checked\" />\n");
      out.write("\t\t\t\t\t<label for=\"nickname\">Nickname</label>\n");
      out.write("\n");
      out.write("\t\t\t\t\t<input type=\"checkbox\" name=\"email\" value=\"1\" id=\"email\" checked=\"checked\" />\n");
      out.write("\t\t\t\t\t<label for=\"email\">Email</label>\n");
      out.write("\n");
      out.write("\t\t\t\t\t<input type=\"checkbox\" name=\"fullname\" value=\"1\" id=\"fullname\" checked=\"checked\" />\n");
      out.write("\t\t\t\t\t<label for=\"fullname\">Fullname</label>\n");
      out.write("\n");
      out.write("\t\t\t\t\t<input type=\"checkbox\" name=\"dob\" value=\"1\" id=\"dob\" checked=\"checked\" />\n");
      out.write("\t\t\t\t\t<label for=\"dob\">Date of birth</label>\n");
      out.write("\n");
      out.write("\t\t\t\t\t<input type=\"checkbox\" name=\"gender\" value=\"1\" id=\"gender\" checked=\"checked\" />\n");
      out.write("\t\t\t\t\t<label for=\"gender\">Gender</label>\n");
      out.write("\n");
      out.write("\t\t\t\t\t<input type=\"checkbox\" name=\"postcode\" value=\"1\" id=\"postcode\" checked=\"checked\" />\n");
      out.write("\t\t\t\t\t<label for=\"postcode\">Postcode</label>\n");
      out.write("\n");
      out.write("\t\t\t\t\t<input type=\"checkbox\" name=\"country\" value=\"1\" id=\"country\" checked=\"checked\" />\n");
      out.write("\t\t\t\t\t<label for=\"country\">Country</label>\n");
      out.write("\n");
      out.write("\t\t\t\t\t<input type=\"checkbox\" name=\"language\" value=\"1\" id=\"language\" checked=\"checked\" />\n");
      out.write("\t\t\t\t\t<label for=\"language\">Language</label>\n");
      out.write("\n");
      out.write("\t\t\t\t\t<input type=\"checkbox\" name=\"timezone\" value=\"1\" id=\"timezone\" checked=\"checked\" />\n");
      out.write("\t\t\t\t\t<label for=\"timezone\">Timezone</label>\n");
      out.write("\n");
      out.write("\t\t\t\t\t<br />\n");
      out.write("\t\t\t\t\t<input type=\"submit\" name=\"login\" value=\"Login\" />\n");
      out.write("\t\t\t\t\t</div>\n");
      out.write("\t\t\t</form>\n");
      out.write("\t\t</fieldset>\n");
      out.write("\n");
      out.write("\t</div>\n");
      out.write("</body>\n");
      out.write("</html>\n");
    } catch (Throwable t) {
      if (!(t instanceof SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          try { out.clearBuffer(); } catch (java.io.IOException e) {}
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }
}
