public void _jspService(HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException {
JspFactory _jspxFactory = null;
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 {
_jspxFactory = JspFactory.getDefaultFactory();
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;
_jspx_resourceInjector = (org.apache.jasper.runtime.ResourceInjector) application.getAttribute("com.sun.appserv.jsp.resource.injector");
out.write("\r\n");
out.write("< html >\n");
out.write("< body >\n");
if (request.getParameter("logout")!=null)
{
session.removeAttribute("openid");
session.removeAttribute("openid-claimed");
out.write("\r\n");
out.write(" Logged out!< p >\r\n");
}
if (session.getAttribute("openid")==null) {
out.write("\n");
out.write("< form method=\"POST\" action=\"consumer_redirect.jsp\" >\n");
out.write("< strong >OpenID:< /strong >\n");
out.write("< input type=\"text\" name=\"openid\" width=\"30\"/ >< br >\n");
out.write("< input type=\"submit\"/ >\n");
out.write("< /form >\n");
} else {
out.write("\n");
out.write("Logged in as ");
out.print( session.getAttribute("openid") );
out.write("< p >\r\n");
out.write("< a href=\"?logout=true\" >Log out< /a >\n");
out.write("\n");
}
out.write("\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)
out.clearBuffer();
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
}
}
|