public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { 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; depths.presentationModule.RegistrationBean registrationBeanId = null; synchronized (session) { registrationBeanId = (depths.presentationModule.RegistrationBean) _jspx_page_context.getAttribute("registrationBeanId", PageContext.SESSION_SCOPE); if (registrationBeanId == null) { registrationBeanId = new depths.presentationModule.RegistrationBean(); _jspx_page_context.setAttribute( "registrationBeanId", registrationBeanId, PageContext.SESSION_SCOPE); out.write('\r'); out.write('\n'); } } out.write("\r\n\r\n"); out.write("\r\n\r\n"); out.write("\r\n\r\n"); userNameExist = registrationBeanId.checkUserName(); out.write("\r\n\r\n"); if (userNameExist) { out.write("\r\n\r\n"); response.sendRedirect("registrationForm.jsp"); out.write("\r\n\r\n"); } else { out.write("\r\n\r\n\r\n"); dataIsGood = registrationBeanId.checkNewUserData(); out.write("\r\n\r\n"); if (dataIsGood == true) { out.write("\r\n\r\n\r\n"); registrationBeanId.newUserRegistration(); out.write('\r'); out.write('\n'); response.sendRedirect("choosingPerformances.jsp"); out.write("\r\n\r\n "); } else { out.write("\r\n\r\n\r\n\r\n "); response.sendRedirect("optionalRegistrationForm.jsp"); out.write("\r\n\r\n "); } out.write('\r'); out.write('\n'); out.write(' '); } out.write('\r'); out.write('\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); } }