private boolean _jspx_meth_wp_i18n_0( javax.servlet.jsp.tagext.JspTag _jspx_th_s_if_9, PageContext _jspx_page_context) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut(); // wp:i18n com.agiletec.aps.tags.I18nTag _jspx_th_wp_i18n_0 = (com.agiletec.aps.tags.I18nTag) _jspx_tagPool_wp_i18n_lang_key_nobody.get(com.agiletec.aps.tags.I18nTag.class); _jspx_th_wp_i18n_0.setPageContext(_jspx_page_context); _jspx_th_wp_i18n_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_s_if_9); _jspx_th_wp_i18n_0.setKey( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${labelKey}", java.lang.String.class, (PageContext) _jspx_page_context, null)); _jspx_th_wp_i18n_0.setLang( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${langCode}", java.lang.String.class, (PageContext) _jspx_page_context, null)); int _jspx_eval_wp_i18n_0 = _jspx_th_wp_i18n_0.doStartTag(); if (_jspx_th_wp_i18n_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _jspx_tagPool_wp_i18n_lang_key_nobody.reuse(_jspx_th_wp_i18n_0); return true; } _jspx_tagPool_wp_i18n_lang_key_nobody.reuse(_jspx_th_wp_i18n_0); return false; }
private boolean _jspx_meth_c_forEach_1(PageContext _jspx_page_context) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut(); // c:forEach org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_1 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_var_items.get( org.apache.taglibs.standard.tag.rt.core.ForEachTag.class); _jspx_th_c_forEach_1.setPageContext(_jspx_page_context); _jspx_th_c_forEach_1.setParent(null); _jspx_th_c_forEach_1.setItems( (java.lang.Object) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${listaSexo.rows}", java.lang.Object.class, (PageContext) _jspx_page_context, null)); _jspx_th_c_forEach_1.setVar("lSexo"); int[] _jspx_push_body_count_c_forEach_1 = new int[] {0}; try { int _jspx_eval_c_forEach_1 = _jspx_th_c_forEach_1.doStartTag(); if (_jspx_eval_c_forEach_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { do { out.write("\n"); out.write(" <option value=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${lSexo.id_sexo}", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write('"'); out.write('>'); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${lSexo.descripcion}", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("</option>\n"); out.write(" "); int evalDoAfterBody = _jspx_th_c_forEach_1.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); } if (_jspx_th_c_forEach_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { return true; } } catch (Throwable _jspx_exception) { while (_jspx_push_body_count_c_forEach_1[0]-- > 0) out = _jspx_page_context.popBody(); _jspx_th_c_forEach_1.doCatch(_jspx_exception); } finally { _jspx_th_c_forEach_1.doFinally(); _jspx_tagPool_c_forEach_var_items.reuse(_jspx_th_c_forEach_1); } return false; }
private boolean _jspx_meth_c_if_0(PageContext _jspx_page_context) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut(); // c:if org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_0 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class); _jspx_th_c_if_0.setPageContext(_jspx_page_context); _jspx_th_c_if_0.setParent(null); _jspx_th_c_if_0.setTest( ((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${exception ne null}", java.lang.Boolean.class, (PageContext) _jspx_page_context, null)) .booleanValue()); int _jspx_eval_c_if_0 = _jspx_th_c_if_0.doStartTag(); if (_jspx_eval_c_if_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { do { out.write("\n"); out.write(" <p>Exception is : "); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${exception}", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write(" <br />\n"); out.write(" Exception Message: "); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${exception.message}", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("</p>\n"); out.write(" "); int evalDoAfterBody = _jspx_th_c_if_0.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); } if (_jspx_th_c_if_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_0); return true; } _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_0); return false; }
private boolean _jspx_meth_c_if_1(PageContext _jspx_page_context) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut(); // c:if org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_1 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class); _jspx_th_c_if_1.setPageContext(_jspx_page_context); _jspx_th_c_if_1.setParent(null); _jspx_th_c_if_1.setTest( ((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${not empty username}", java.lang.Boolean.class, (PageContext) _jspx_page_context, null)) .booleanValue()); int _jspx_eval_c_if_1 = _jspx_th_c_if_1.doStartTag(); if (_jspx_eval_c_if_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { do { out.write("\r\n"); out.write("\t\t\t<li><a href=\"javascript:;\">欢迎您,"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${username }", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("</a></li>\r\n"); out.write("\t\t\t<li>|</li>\r\n"); out.write("\t\t\t<li><a href=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${appPath}", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("/personal/information\">个人中心</a></li>\r\n"); out.write("\t\t\t<li>|</li>\r\n"); out.write("\t\t\t<li><a href=\"javaScript:logout();\">退出</a></li>\r\n"); out.write("\t\t"); int evalDoAfterBody = _jspx_th_c_if_1.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); } if (_jspx_th_c_if_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_1); return true; } _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_1); return false; }
private boolean _jspx_meth_c_out_3( javax.servlet.jsp.tagext.JspTag _jspx_th_c_forEach_0, PageContext _jspx_page_context, int[] _jspx_push_body_count_c_forEach_0) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut(); // c:out org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_out_3 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _jspx_tagPool_c_out_value_nobody.get( org.apache.taglibs.standard.tag.rt.core.OutTag.class); _jspx_th_c_out_3.setPageContext(_jspx_page_context); _jspx_th_c_out_3.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_forEach_0); _jspx_th_c_out_3.setValue( (java.lang.Object) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${employee.hourRate}", java.lang.Object.class, (PageContext) _jspx_page_context, null)); int _jspx_eval_c_out_3 = _jspx_th_c_out_3.doStartTag(); if (_jspx_th_c_out_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _jspx_tagPool_c_out_value_nobody.reuse(_jspx_th_c_out_3); return true; } _jspx_tagPool_c_out_value_nobody.reuse(_jspx_th_c_out_3); return false; }
private boolean _jspx_meth_c_set_0(PageContext _jspx_page_context) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut(); // c:set org.apache.taglibs.standard.tag.rt.core.SetTag _jspx_th_c_set_0 = (org.apache.taglibs.standard.tag.rt.core.SetTag) _jspx_tagPool_c_set_var_value_nobody.get( org.apache.taglibs.standard.tag.rt.core.SetTag.class); _jspx_th_c_set_0.setPageContext(_jspx_page_context); _jspx_th_c_set_0.setParent(null); _jspx_th_c_set_0.setVar("path"); _jspx_th_c_set_0.setValue( (java.lang.Object) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${pageContext.request.contextPath}", java.lang.Object.class, (PageContext) _jspx_page_context, null)); int _jspx_eval_c_set_0 = _jspx_th_c_set_0.doStartTag(); if (_jspx_th_c_set_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _jspx_tagPool_c_set_var_value_nobody.reuse(_jspx_th_c_set_0); return true; } _jspx_tagPool_c_set_var_value_nobody.reuse(_jspx_th_c_set_0); return false; }
private boolean _jspx_meth_c_if_2(PageContext _jspx_page_context) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut(); // c:if org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_2 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class); _jspx_th_c_if_2.setPageContext(_jspx_page_context); _jspx_th_c_if_2.setParent(null); _jspx_th_c_if_2.setTest( ((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${notSearch==null}", java.lang.Boolean.class, (PageContext) _jspx_page_context, null)) .booleanValue()); int _jspx_eval_c_if_2 = _jspx_th_c_if_2.doStartTag(); if (_jspx_eval_c_if_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { do { out.write("\r\n"); out.write("\t\t\t<div class=\"search\">\r\n"); out.write("\t\t\t\t<input type=\"text\" class=\"searchBox\" id=\"searchBox\" value=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${keyword}", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("\" placeholder=\"请输入您要搜索的内容\">\r\n"); out.write("\t\t\t\t<input type=\"button\" class=\"searchBtn\">\r\n"); out.write("\t\t\t\t<ul class=\"prompt\">\r\n"); out.write("\t\t\t\t</ul>\r\n"); out.write("\t\t\t\t<i></i>\r\n"); out.write("\t\t\t</div>\r\n"); out.write("\t\t"); int evalDoAfterBody = _jspx_th_c_if_2.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); } if (_jspx_th_c_if_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_2); return true; } _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_2); return false; }
private boolean _jspx_meth_c_forEach_0(PageContext _jspx_page_context) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut(); // c:forEach org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_0 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_var_items.get( org.apache.taglibs.standard.tag.rt.core.ForEachTag.class); _jspx_th_c_forEach_0.setPageContext(_jspx_page_context); _jspx_th_c_forEach_0.setParent(null); _jspx_th_c_forEach_0.setItems( (java.lang.Object) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${requestScope.empList}", java.lang.Object.class, (PageContext) _jspx_page_context, null)); _jspx_th_c_forEach_0.setVar("emp"); int[] _jspx_push_body_count_c_forEach_0 = new int[] {0}; try { int _jspx_eval_c_forEach_0 = _jspx_th_c_forEach_0.doStartTag(); if (_jspx_eval_c_forEach_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { do { out.write("\n"); out.write( " <!--Place here the code to create each row of your table-->\n"); out.write(" <tr>\n"); out.write( " <!--This is an example of how to access to the values in each iteration:-->\n"); out.write(" <td>\n"); out.write(" "); if (_jspx_meth_c_out_0( (javax.servlet.jsp.tagext.JspTag) _jspx_th_c_forEach_0, _jspx_page_context, _jspx_push_body_count_c_forEach_0)) return true; out.write("\n"); out.write(" </td>\n"); out.write(" </tr>\n"); out.write(" "); int evalDoAfterBody = _jspx_th_c_forEach_0.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); } if (_jspx_th_c_forEach_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { return true; } } catch (Throwable _jspx_exception) { while (_jspx_push_body_count_c_forEach_0[0]-- > 0) out = _jspx_page_context.popBody(); _jspx_th_c_forEach_0.doCatch(_jspx_exception); } finally { _jspx_th_c_forEach_0.doFinally(); _jspx_tagPool_c_forEach_var_items.reuse(_jspx_th_c_forEach_0); } return false; }
private boolean _jspx_meth_sql_query_0(PageContext _jspx_page_context) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut(); // sql:query org.apache.taglibs.standard.tag.rt.sql.QueryTag _jspx_th_sql_query_0 = (org.apache.taglibs.standard.tag.rt.sql.QueryTag) _jspx_tagPool_sql_query_var_dataSource.get( org.apache.taglibs.standard.tag.rt.sql.QueryTag.class); _jspx_th_sql_query_0.setPageContext(_jspx_page_context); _jspx_th_sql_query_0.setParent(null); _jspx_th_sql_query_0.setVar("listaComunas"); _jspx_th_sql_query_0.setDataSource( (java.lang.Object) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${snapshot}", java.lang.Object.class, (PageContext) _jspx_page_context, null)); int[] _jspx_push_body_count_sql_query_0 = new int[] {0}; try { int _jspx_eval_sql_query_0 = _jspx_th_sql_query_0.doStartTag(); if (_jspx_eval_sql_query_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { if (_jspx_eval_sql_query_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { out = _jspx_page_context.pushBody(); _jspx_push_body_count_sql_query_0[0]++; _jspx_th_sql_query_0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out); _jspx_th_sql_query_0.doInitBody(); } do { out.write("\n"); out.write( " SELECT id_comuna,nombre_comuna FROM comuna\n"); out.write(" "); int evalDoAfterBody = _jspx_th_sql_query_0.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); if (_jspx_eval_sql_query_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) out = _jspx_page_context.popBody(); _jspx_push_body_count_sql_query_0[0]--; } if (_jspx_th_sql_query_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { return true; } } catch (Throwable _jspx_exception) { while (_jspx_push_body_count_sql_query_0[0]-- > 0) out = _jspx_page_context.popBody(); _jspx_th_sql_query_0.doCatch(_jspx_exception); } finally { _jspx_th_sql_query_0.doFinally(); _jspx_tagPool_sql_query_var_dataSource.reuse(_jspx_th_sql_query_0); } return false; }
private boolean _jspx_meth_page_show_0(PageContext _jspx_page_context) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut(); // page:show org.apache.jsp.tag.web.form.show_tagx _jspx_th_page_show_0 = (_jspx_resourceInjector != null) ? _jspx_resourceInjector.createTagHandlerInstance( org.apache.jsp.tag.web.form.show_tagx.class) : new org.apache.jsp.tag.web.form.show_tagx(); _jspx_th_page_show_0.setJspContext(_jspx_page_context); _jspx_th_page_show_0.setZ("UjZyHnccz8UwvHHSflFcP46HvMo="); _jspx_th_page_show_0.setPath("/pizzas"); _jspx_th_page_show_0.setObject( (java.lang.Object) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${pizza}", java.lang.Object.class, (PageContext) _jspx_page_context, null)); _jspx_th_page_show_0.setId("ps_com_springsource_pizzashop_domain_Pizza"); _jspx_th_page_show_0.setJspBody( new show_jspxHelper(0, _jspx_page_context, _jspx_th_page_show_0, null)); _jspx_th_page_show_0.doTag(); return false; }
private boolean _jspx_meth_c_out_1(PageContext _jspx_page_context) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut(); // c:out org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_out_1 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _jspx_tagPool_c_out_value.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class); _jspx_th_c_out_1.setPageContext(_jspx_page_context); _jspx_th_c_out_1.setParent(null); _jspx_th_c_out_1.setValue( (java.lang.Object) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${requestScope.employeeCount }", java.lang.Object.class, (PageContext) _jspx_page_context, null)); int _jspx_eval_c_out_1 = _jspx_th_c_out_1.doStartTag(); if (_jspx_eval_c_out_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { if (_jspx_eval_c_out_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { out = _jspx_page_context.pushBody(); _jspx_th_c_out_1.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out); _jspx_th_c_out_1.doInitBody(); } do { out.write("\n"); out.write(" "); int evalDoAfterBody = _jspx_th_c_out_1.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); if (_jspx_eval_c_out_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) out = _jspx_page_context.popBody(); } if (_jspx_th_c_out_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _jspx_tagPool_c_out_value.reuse(_jspx_th_c_out_1); return true; } _jspx_tagPool_c_out_value.reuse(_jspx_th_c_out_1); return false; }
private boolean _jspx_meth_field_display_0( javax.servlet.jsp.tagext.JspTag _jspx_parent, PageContext _jspx_page_context) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut(); // field:display org.apache.jsp.tag.web.form.fields.display_tagx _jspx_th_field_display_0 = (_jspx_resourceInjector != null) ? _jspx_resourceInjector.createTagHandlerInstance( org.apache.jsp.tag.web.form.fields.display_tagx.class) : new org.apache.jsp.tag.web.form.fields.display_tagx(); _jspx_th_field_display_0.setJspContext(_jspx_page_context); _jspx_th_field_display_0.setParent(_jspx_parent); _jspx_th_field_display_0.setZ("Bg+Acj9gpL4CDGtQZsNYBUXOpwU="); _jspx_th_field_display_0.setObject( (java.lang.Object) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${pizza}", java.lang.Object.class, (PageContext) _jspx_page_context, null)); _jspx_th_field_display_0.setId("s_com_springsource_pizzashop_domain_Pizza_name"); _jspx_th_field_display_0.setField("name"); _jspx_th_field_display_0.doTag(); return false; }
private boolean _jspx_meth_fmt_param_0( javax.servlet.jsp.tagext.JspTag _jspx_th_fmt_message_1, PageContext _jspx_page_context) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut(); // fmt:param org.apache.taglibs.standard.tag.rt.fmt.ParamTag _jspx_th_fmt_param_0 = (org.apache.taglibs.standard.tag.rt.fmt.ParamTag) _jspx_tagPool_fmt_param_value_nobody.get( org.apache.taglibs.standard.tag.rt.fmt.ParamTag.class); _jspx_th_fmt_param_0.setPageContext(_jspx_page_context); _jspx_th_fmt_param_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_fmt_message_1); _jspx_th_fmt_param_0.setValue( (java.lang.Object) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${storeUrl}", java.lang.Object.class, (PageContext) _jspx_page_context, null)); int _jspx_eval_fmt_param_0 = _jspx_th_fmt_param_0.doStartTag(); if (_jspx_th_fmt_param_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _jspx_tagPool_fmt_param_value_nobody.reuse(_jspx_th_fmt_param_0); throw new SkipPageException(); } _jspx_tagPool_fmt_param_value_nobody.reuse(_jspx_th_fmt_param_0); return false; }
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;charset=UTF-8"); 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.glassfish.jsp.api.ResourceInjector) application.getAttribute("com.sun.appserv.jsp.resource.injector"); out.write('\n'); out.write("\n"); out.write("\n"); out.write("\n"); out.write("<!DOCTYPE html>\n"); out.write("<html>\n"); out.write(" <head>\n"); out.write( " <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n"); out.write("\n"); out.write(" \n"); out.write(" \n"); out.write(" <title>Personas</title>\n"); out.write(" </head>\n"); out.write(" <body>\n"); out.write(" "); if (_jspx_meth_sql_setDataSource_0(_jspx_page_context)) return; out.write("\n"); out.write( " <h1 style=\"text-align: center\"><u>Administracion de personas</u></h1>\n"); out.write(" <div style=\"text-align: center;\">\n"); out.write(" <form method=\"POST\" id=\"frmPersona\" name=\"frmPersona\">\n"); out.write(" <table border=\"1\" width=\"500\" style=\"margin: 0 auto ;\">\n"); out.write(" <thead>\n"); out.write(" <tr>\n"); out.write(" <th>Rut</th>\n"); out.write(" <th><input type=\"text\" name=\"txtRut\" value=\""); if (_jspx_meth_c_out_0(_jspx_page_context)) return; out.write("\"</th>\n"); out.write(" </tr>\n"); out.write(" </thead>\n"); out.write(" <tbody>\n"); out.write(" <tr>\n"); out.write(" <td>DV</td>\n"); out.write(" <td><input type=\"text\" name=\"txtDV\" value=\""); if (_jspx_meth_c_out_1(_jspx_page_context)) return; out.write("\"</td>\n"); out.write(" </tr>\n"); out.write(" <tr>\n"); out.write(" <td>Nombre</td>\n"); out.write(" <td><input type=\"text\" name=\"txtNombre\" value=\""); if (_jspx_meth_c_out_2(_jspx_page_context)) return; out.write("\"</td>\n"); out.write(" </tr>\n"); out.write(" <tr>\n"); out.write(" <td>Apellido paterno</td>\n"); out.write(" <td><input type=\"text\" name=\"txtAPaterno\" value=\""); if (_jspx_meth_c_out_3(_jspx_page_context)) return; out.write("\"</td>\n"); out.write(" </tr>\n"); out.write(" <tr>\n"); out.write(" <td>Apellido materno</td>\n"); out.write(" <td><input type=\"text\" name=\"txtAMaterno\" value=\""); if (_jspx_meth_c_out_4(_jspx_page_context)) return; out.write("\"</td>\n"); out.write(" </tr>\n"); out.write(" <tr>\n"); out.write(" <td><b>Comuna</b></td>\n"); out.write(" <td>\n"); out.write(" "); if (_jspx_meth_sql_setDataSource_1(_jspx_page_context)) return; out.write("\n"); out.write(" "); if (_jspx_meth_sql_query_0(_jspx_page_context)) return; out.write("\n"); out.write(" <select name=\"cboComuna\" >\n"); out.write(" <option value=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${comuna.getId_comunda()}", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write('"'); out.write('>'); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${comuna.getNombre_comuna()}", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("</option>\n"); out.write(" "); if (_jspx_meth_c_forEach_0(_jspx_page_context)) return; out.write("\n"); out.write(" </select>\n"); out.write(" </td>\n"); out.write(" </tr>\n"); out.write(" <tr>\n"); out.write(" <td>Direccion</td>\n"); out.write(" <td><input type=\"text\" name=\"txtDireccion\" value=\""); if (_jspx_meth_c_out_5(_jspx_page_context)) return; out.write("\"</td>\n"); out.write(" </tr>\n"); out.write(" <tr>\n"); out.write(" <td>Calle</td>\n"); out.write(" <td><input type=\"text\" name=\"txtCalle\" value=\""); if (_jspx_meth_c_out_6(_jspx_page_context)) return; out.write("\"</td>\n"); out.write(" </tr>\n"); out.write(" <tr>\n"); out.write(" <td>Numero</td>\n"); out.write(" <td><input type=\"text\" name=\"txtNumero\" value=\""); if (_jspx_meth_c_out_7(_jspx_page_context)) return; out.write("\"</td>\n"); out.write(" </tr>\n"); out.write(" <tr>\n"); out.write(" <td>Sexo:</td>\n"); out.write(" <td>\n"); out.write(" "); if (_jspx_meth_sql_query_1(_jspx_page_context)) return; out.write("\n"); out.write(" <select name=\"cboSexo\">\n"); out.write(" <option value=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${lSexo.getIdSexo()}", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write('"'); out.write('>'); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${lSexo.getDesc()}", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("</option>\n"); out.write(" "); if (_jspx_meth_c_forEach_1(_jspx_page_context)) return; out.write("\n"); out.write(" </select>\n"); out.write(" </td>\n"); out.write(" </tr>\n"); out.write(" <tr>\n"); out.write(" <td colspan=\"10\">\n"); out.write( " <button onclick=\"javascript:document.frmPersona.action = '/WebCineSig/Ingresar.ServPersona';\n"); out.write( " document.frmPersona.submit();\" id=\"btnIngresar\" name=\"btnIngresar\">Ingresar</button>\n"); out.write( " <button onclick=\"javascript:document.frmPersona.action = '/WebCineSig/Buscar.ServPersona';\n"); out.write( " document.frmPersona.submit();\" id=\"btnBuscar\" name=\"btnBuscar\">Buscar</button>\n"); out.write( " <button onclick=\"javascript:document.frmPersona.action = '/WebCineSig/Eliminar.ServPersona';\n"); out.write( " document.frmPersona.submit();\" id=\"btnEliminar\" name=\"btnEliminar\">Eliminar</button>\n"); out.write( " <button onclick=\"javascript:document.frmPersona.action = '/WebCineSig/Modificar.ServPersona';\n"); out.write( " document.frmPersona.submit();\" id=\"btnModificar\" name=\"btnModificar\">Modificar</button>\n"); out.write( " <button onclick=\"javascript:document.frmPersona.action = '/WebCineSig/Lista/listar.ServPersona';\n"); out.write( " document.frmPersona.submit();\" id=\"btnListar\" name=\"btnListar\">Listar</button>\n"); out.write(" </td>\n"); out.write(" </tr>\n"); out.write(" <tr>\n"); out.write(" <td colspan=\"10\"><font size=\"17\" color=\"red\">"); if (_jspx_meth_c_out_8(_jspx_page_context)) return; out.write("</font></td>\n"); out.write(" </tr>\n"); out.write(" </tbody>\n"); out.write(" </table>\n"); out.write(" </form>\n"); out.write(" </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) out.clearBuffer(); if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); else throw new ServletException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
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; charset=UTF-8"); 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.glassfish.jsp.api.ResourceInjector) application.getAttribute("com.sun.appserv.jsp.resource.injector"); out.write("\r\n"); out.write( "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n"); out.write("<html lang=\"en\">\r\n"); out.write("<head>\r\n"); out.write("\t<title><sitemesh:write property='title' /></title>\r\n"); out.write("\t<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\r\n"); out.write("\t<meta name=\"renderer\" content=\"webkit\">\r\n"); out.write("\t<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\">\r\n"); out.write(" <meta name=\"keywords\" content=\"采购与招标、关系网、排行榜、行业指数、行业报告 \" />\r\n"); out.write(" <meta name=\"description\" content=\"数据对话,一触即发\" />\r\n"); out.write("\t<link rel=\"icon\" href=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${resPath}", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("/resources/commons/images/top_icon_03.png\" mce_href=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${resPath}", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("/resources/commons/images/top_icon_03.png\" type=\"image/x-icon\">\r\n"); out.write("\t<link rel=\"stylesheet\" type=\"text/css\" href=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${resPath}", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("/resources/commons/css/basic.css?v="); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${projectversion}", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("\">\r\n"); out.write("\t<link rel=\"stylesheet\" type=\"text/css\" href=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${resPath}", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("/resources/commons/css/style.css?v="); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${projectversion}", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("\">\r\n"); out.write("\t<sitemesh:write property='myCss'/>\r\n"); out.write("\t"); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); out.write(" \r\n"); if (_jspx_meth_c_set_0(_jspx_page_context)) return; out.write('\r'); out.write('\n'); if (_jspx_meth_c_set_1(_jspx_page_context)) return; out.write('\r'); out.write('\n'); out.write('\r'); out.write('\n'); if (_jspx_meth_c_set_2(_jspx_page_context)) return; out.write('\r'); out.write('\n'); out.write('\r'); out.write('\n'); if (_jspx_meth_c_set_3(_jspx_page_context)) return; out.write('\r'); out.write('\n'); out.write('\r'); out.write('\n'); if (_jspx_meth_c_set_4(_jspx_page_context)) return; out.write('\r'); out.write('\n'); if (_jspx_meth_c_set_5(_jspx_page_context)) return; out.write("\r\n"); out.write("<script type=\"text/javascript\">\r\n"); out.write(" var path = \""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${resPath}", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("\";\r\n"); out.write( " //var casPath =encodeURI(\"http://101.200.0.81/cas/login?service=http://101.200.0.81/cms/homepage\");\r\n"); out.write( " //var casPath =encodeURI(\"http://101.200.0.81/cas/login?service=http://192.168.8.129:8080/homepage\");\r\n"); out.write(" var casPath = encodeURI(\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${casPath}", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("\");\r\n"); out.write(" var casBase = \""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${casBase}", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("\";\r\n"); out.write("\r\n"); out.write(" function logout() {\r\n"); out.write(" $.ajax({\r\n"); out.write(" type: \"post\",\r\n"); out.write(" async: true,\r\n"); out.write(" url: casBase + '/ajaxlogout',\r\n"); out.write(" dataType: \"jsonp\",\r\n"); out.write(" jsonp: 'jsoncallback',\r\n"); out.write(" success: function(a) {\r\n"); out.write(" if (a.result) {\r\n"); out.write(" location.href = location.href;\r\n"); out.write(" }\r\n"); out.write(" }\r\n"); out.write(" });\r\n"); out.write(" }\r\n"); out.write("</script>\r\n"); out.write("\r\n"); out.write("\t<!--[if IE 6]>\r\n"); out.write("\t<script src=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${resPath}", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("/resources/commons/js/DD_belatedPNG.js\" type=\"text/javascript\"></script>\r\n"); out.write("\t<script type=\"text/javascript\">DD_belatedPNG.fix('*');</script>\r\n"); out.write("\t<link rel=\"stylesheet\" type=\"text/css\" href=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${resPath}", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("/resources/commons/css/lib/ie6hack.css?v="); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${projectversion}", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("\">\r\n"); out.write("\t<![endif]-->\r\n"); out.write("\t<!--[if IE7]>\r\n"); out.write("\t<link rel=\"stylesheet\" type=\"text/css\" href=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${resPath}", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("/resources/commons/css/lib/ie6hack.css?v="); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${projectversion}", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("\">\r\n"); out.write("\t<![endif]-->\r\n"); out.write("\t<!--[if lt IE 9]>\r\n"); out.write( "\t<script src=\"http://apps.bdimg.com/libs/html5shiv/3.7/html5shiv.min.js\"></script>\r\n"); out.write( "\t<script src=\"http://apps.bdimg.com/libs/respond.js/1.4.2/respond.js\"></script>\r\n"); out.write("\t<![endif]-->\r\n"); out.write( "\t<script type=\"text/javascript\" src=\"http://libs.baidu.com/jquery/1.7.2/jquery.min.js?v="); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${projectversion}", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("\"></script>\r\n"); out.write("\t<script type=\"text/javascript\">\r\n"); out.write("\t// 浏览器版本检测\r\n"); out.write("$(function(){\r\n"); out.write("\r\n"); out.write("\tif (window.location.href.split('/')[3] === 'notsupport') {\r\n"); out.write("\r\n"); out.write("\t} else {\r\n"); out.write("\r\n"); out.write("\t\t!function() {\r\n"); out.write("\t var cookie,\r\n"); out.write("\t ua,\r\n"); out.write("\t match;\r\n"); out.write("\t ua = window.navigator.userAgent;\r\n"); out.write("\t match = /;\\s*MSIE (\\d+).*?;/.exec(ua);\r\n"); out.write("\t if (match && +match[1] < 9) {\r\n"); out.write("\t \tcookie = document.cookie.match(/(?:^|;)\\s*ic=(\\d)/);\r\n"); out.write("\t \tif (cookie && cookie[1]) {\r\n"); out.write("\t return;\r\n"); out.write("\t }\r\n"); out.write("\t window.location.href= '"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${resPath}", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("/notsupport';\r\n"); out.write("\t }\r\n"); out.write("\t }();\r\n"); out.write("\t}\r\n"); out.write("})\r\n"); out.write("\t</script>\r\n"); out.write("</head>\r\n"); out.write("<body>\r\n"); out.write("<!--顶部导航 -->\r\n"); out.write("<div class=\"header\">\r\n"); out.write("\t<div class=\"user-nav clearfix\">\r\n"); out.write("\t\t<ul class=\"user-info clearfix\">\r\n"); out.write("\t\t\t"); if (_jspx_meth_c_if_0(_jspx_page_context)) return; out.write("\r\n"); out.write("\t\t"); if (_jspx_meth_c_if_1(_jspx_page_context)) return; out.write("\r\n"); out.write("\t\t</ul>\r\n"); out.write("\t</div>\r\n"); out.write("</div>\r\n"); out.write("<!-- 主导航-->\r\n"); out.write("<div class='navWrapper'>\r\n"); out.write("\t<div class=\"main-nav clearfix\">\r\n"); out.write("\t\t<h1 class=\"logo\">\r\n"); out.write("\t\t\t关系网\r\n"); out.write("\t\t\t<a href=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${appPath }", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("/homepage\"></a>\r\n"); out.write("\t\t</h1>\r\n"); out.write("\t\t<ul class=\"nav clearfix\">\r\n"); out.write("\t\t\t<li><a href=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${appPath }", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("/homepage\" id=\"index\" class='buttonHover'>首页</a></li>\r\n"); out.write("\t\t\t<li><a href=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${appPath }", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("/relation\" id=\"relation\" class='buttonHover'>关系网</a></li>\r\n"); out.write("\t\t\t<li><a href=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${appPath }", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("/industry\" id=\"industry\" class='buttonHover'>行业指数</a></li>\r\n"); out.write("\t\t\t<li><a href=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${appPath }", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("/ranking\" id=\"ranking\" class='buttonHover'>排行榜</a></li>\r\n"); out.write("\t\t\t<li><a href=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${appPath }", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("/report\" id=\"report\" class='buttonHover'>行业报告</a></li>\r\n"); out.write("\t\t\t<li><a href=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${appPath }", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("/topservice\" id=\"topservice\" class='buttonHover'>高端服务</a></li>\r\n"); out.write("\t\t</ul>\r\n"); out.write("\t\t"); if (_jspx_meth_c_if_2(_jspx_page_context)) return; out.write("\r\n"); out.write("\t</div>\r\n"); out.write("</div>\r\n"); out.write("<!-- 导航下划线 -->\r\n"); out.write("<div class=\"hr\"></div>\r\n"); out.write("<sitemesh:write property='body'/>\r\n"); if (_jspx_meth_c_if_3(_jspx_page_context)) return; out.write("\r\n"); out.write("<script type=\"text/javascript\" src=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${resPath}", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("/resources/commons/js/lib/message.js?v="); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${projectversion}", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("\"></script>\r\n"); out.write("<script type=\"text/javascript\" src=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${resPath}", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("/resources/commons/js/ajaxCommon.js?v="); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${projectversion}", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("\"></script>\r\n"); out.write("<sitemesh:write property='myScript'/>\r\n"); out.write("</body>\r\n"); out.write("</html> "); } 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); else throw new ServletException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
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; _jspx_resourceInjector = (org.glassfish.jsp.api.ResourceInjector) application.getAttribute("com.sun.appserv.jsp.resource.injector"); out.write("<!DOCTYPE html>\n"); out.write("<html >\n"); out.write(" <head>\n"); out.write(" <meta charset=\"UTF-8\">\n"); out.write(" <title>ConnAct - Connecting Teams</title>\n"); out.write( " <link id=\"favicon\" rel=\"shortcut icon\" href=\"img/CaptureWebnew.png\" sizes=\"16x16 32x32 48x48\" type=\"image/png\" />\n"); out.write(" <link rel=\"stylesheet\" href=\"css/style.css\">\n"); out.write(" <link rel=\"stylesheet\" href=\"css/bootstrap.css\">\n"); out.write(" <script type=\"text/javascript\">\n"); out.write(" $(function () {\n"); out.write(" $(\".btn\").click(function () {\n"); out.write(" $(this).submit('loading').delay(1000).queue(function () {\n"); out.write(" $(this).submit('reset');\n"); out.write(" });\n"); out.write(" });\n"); out.write(" });\n"); out.write(" </script>\n"); out.write(" </head>\n"); out.write("\n"); out.write(" <body>\n"); out.write("\n"); out.write(" <div class=\"wrapper\">\n"); out.write(" <div class=\"container\">\n"); out.write(" <h1 style=\"color: #ffffff\">ConnAct</h1>\n"); out.write( " <img align=\"center\" src=\"img/CaptureWebnew.png\" width=\"112\" height=\"80\">\n"); out.write("\n"); out.write(" <form class=\"form\" method=\"post\" action=\"login.jsp\">\n"); out.write( " <input type=\"text\" placeholder=\"Team Domain\"name=\"team\">\n"); out.write(" <input type=\"text\" placeholder=\"Email\"name=\"email\">\n"); out.write( " <input type=\"password\" placeholder=\"Password\" name=\"pass\">\n"); out.write( " <button type=\"submit\" class=\"btn btn-lg\" id=\"login-button\" data-loading-text=\"Loading...\">Login</button><br><br>\n"); out.write(" <p style=\"font-size: 1.3em;\"><font color=\"white\">"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${requestScope.msg}", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("</font></p>\n"); out.write(" </form>\n"); out.write(" </div>\n"); out.write("\n"); out.write(" <ul class=\"bg-bubbles\">\n"); out.write(" <li></li>\n"); out.write(" <li></li>\n"); out.write(" <li></li>\n"); out.write(" <li></li>\n"); out.write(" <li></li>\n"); out.write(" <li></li>\n"); out.write(" <li></li>\n"); out.write(" <li></li>\n"); out.write(" <li></li>\n"); out.write(" <li></li>\n"); out.write(" </ul>\n"); out.write(" </div>\n"); out.write( " <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>\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); else throw new ServletException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
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;charset=UTF-8"); 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.glassfish.jsp.api.ResourceInjector) application.getAttribute("com.sun.appserv.jsp.resource.injector"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); if (_jspx_meth_c_set_0(_jspx_page_context)) return; out.write("\n"); out.write("<!DOCTYPE html>\n"); out.write("<html>\n"); out.write(" <head>\n"); out.write( " <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n"); out.write(" <title>JSP Page</title>\n"); out.write(" <script src=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${SITE_URL}", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("/assets/js/d3/d3.min.js\" type=\"text/javascript\"></script>\n"); out.write("\n"); out.write(" <style>\n"); out.write(" div.bar {\n"); out.write(" display: inline-block;\n"); out.write(" width: 20px;\n"); out.write(" height: 75px; \n"); out.write(" margin-right: 2px;\n"); out.write(" background-color: teal;\n"); out.write("\n"); out.write(" }\n"); out.write(" </style>\n"); out.write(" </head>\n"); out.write(" <body>\n"); out.write("\n"); out.write(" <div></div>\n"); out.write("\n"); out.write("\n"); out.write(" <script>\n"); out.write("\n"); out.write("// var dataset = [\n"); out.write("// {\n"); out.write("// \"x_axis\": 30,\n"); out.write("// \"y_axis\": 30,\n"); out.write("// \"radius\": 20,\n"); out.write("// \"color\": \"green\"\n"); out.write("// }, {\n"); out.write("// \"x_axis\": 70,\n"); out.write("// \"y_axis\": 70,\n"); out.write("// \"radius\": 20,\n"); out.write("// \"color\": \"purple\"\n"); out.write("// }, {\n"); out.write("// \"x_axis\": 110,\n"); out.write("// \"y_axis\": 100,\n"); out.write("// \"radius\": 20,\n"); out.write("// \"color\": \"red\"\n"); out.write("// }];\n"); out.write("//\n"); out.write("//\n"); out.write("//\n"); out.write("// console.log(dataset);\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write( " d3.json(\"ForexNepal/exchange_rates/bank/6\", function (error, data) {\n"); out.write(" if (error)\n"); out.write(" return console.log(error);\n"); out.write("\n"); out.write(" console.log(data);\n"); out.write(" var arr = Object.keys(data).map(function (k) {\n"); out.write(" return data[k]\n"); out.write(" });\n"); out.write(" console.log(arr);\n"); out.write(" var svg = d3.select(\"body\").selectAll(\"div\")\n"); out.write(" .data(arr, function (d) {\n"); out.write(" return d\n"); out.write(" })\n"); out.write(" .enter()\n"); out.write(" .append(\"div\")\n"); out.write(" .attr(\"width\", 700)\n"); out.write(" .attr(\"height\", 700)\n"); out.write(" .attr(\"class\", \"bar\")\n"); out.write(" .style(\"height\", function (d) {\n"); out.write(" var barHeight = d;\n"); out.write(" return barHeight + \"px\";\n"); out.write(" })\n"); out.write("\n"); out.write(" });\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("// var dataset = [5, 10, 13, 19, 21, 25, 22, 18, 15, 13,\n"); out.write("// 11, 12, 15, 20, 18, 17, 16, 18, 23, 25];\n"); out.write("//\n"); out.write("\n"); out.write("// var svg = d3.select(\"body\").append(\"svg\")\n"); out.write("// .attr(\"width\", 200)\n"); out.write("// .attr(\"height\", 200)\n"); out.write("// .attr(\"class\", \"bar\")\n"); out.write("// .style(\"height\", function (d) {\n"); out.write("// var barHeight =d.buyingRate * 5;\n"); out.write("// return barHeight + \"px\";\n"); out.write("// })\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write(" // var dataset = [25, 7, 5, 26, 11, 8, 25, 14, 23, 19,\n"); out.write(" // 14, 11, 22, 29, 11, 13, 12, 17, 18, 10,\n"); out.write(" // 24, 18, 25, 9, 3];\n"); out.write("\n"); out.write("// var dataset = []; //Initialize empty array\n"); out.write("// for (var i = 0; i < 25; i++) { //Loop 25 times\n"); out.write("// var newNumber = Math.random() * 30; //New random number (0-30)\n"); out.write("// dataset.push(newNumber); //Add new number to array\n"); out.write("// }\n"); out.write("// \n"); out.write("// d3.select(\"body\").selectAll(\"div\")\n"); out.write("// .data(dataset) // <-- The answer is here!\n"); out.write("// .enter()\n"); out.write("// .append(\"div\")\n"); out.write("// .attr(\"class\", \"bar\")\n"); out.write("// .style(\"height\", function (d) {\n"); out.write("// var barHeight = d * 5;\n"); out.write("// return barHeight + \"px\";\n"); out.write("// });\n"); out.write("\n"); out.write(" </script>\n"); out.write(" </body>\n"); out.write("\n"); out.write("\n"); out.write("\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); else throw new ServletException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
private boolean _jspx_meth_c_forEach_0(PageContext _jspx_page_context) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut(); // c:forEach org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_0 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_var_items.get( org.apache.taglibs.standard.tag.rt.core.ForEachTag.class); _jspx_th_c_forEach_0.setPageContext(_jspx_page_context); _jspx_th_c_forEach_0.setParent(null); _jspx_th_c_forEach_0.setItems( (java.lang.Object) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${employees}", java.lang.Object.class, (PageContext) _jspx_page_context, null)); _jspx_th_c_forEach_0.setVar("employee"); int[] _jspx_push_body_count_c_forEach_0 = new int[] {0}; try { int _jspx_eval_c_forEach_0 = _jspx_th_c_forEach_0.doStartTag(); if (_jspx_eval_c_forEach_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { do { out.write("\r\n"); out.write("\t\t\t<tr>\r\n"); out.write("\t\t\t\t<td>"); if (_jspx_meth_c_out_0( (javax.servlet.jsp.tagext.JspTag) _jspx_th_c_forEach_0, _jspx_page_context, _jspx_push_body_count_c_forEach_0)) return true; out.write("</td>\r\n"); out.write("\t\t\t\t<td>"); if (_jspx_meth_c_out_1( (javax.servlet.jsp.tagext.JspTag) _jspx_th_c_forEach_0, _jspx_page_context, _jspx_push_body_count_c_forEach_0)) return true; out.write("</td>\r\n"); out.write("\t\t\t\t<td>"); if (_jspx_meth_c_out_2( (javax.servlet.jsp.tagext.JspTag) _jspx_th_c_forEach_0, _jspx_page_context, _jspx_push_body_count_c_forEach_0)) return true; out.write("</td>\r\n"); out.write("\t\t\t\t<td>"); if (_jspx_meth_c_out_3( (javax.servlet.jsp.tagext.JspTag) _jspx_th_c_forEach_0, _jspx_page_context, _jspx_push_body_count_c_forEach_0)) return true; out.write("</td>\r\n"); out.write("\t\t\t\t<td><a href=\"view/"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${employee.empId}", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("\">Modify</a></td>\r\n"); out.write("\t\t\t\t<td><a href=\"viewProjectsOfEmployee/"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${employee.empId}", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("\">Manage Projects</a></td>\t\r\n"); out.write("\t\t\t</tr>\r\n"); out.write("\t\t"); int evalDoAfterBody = _jspx_th_c_forEach_0.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); } if (_jspx_th_c_forEach_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { return true; } } catch (Throwable _jspx_exception) { while (_jspx_push_body_count_c_forEach_0[0]-- > 0) out = _jspx_page_context.popBody(); _jspx_th_c_forEach_0.doCatch(_jspx_exception); } finally { _jspx_th_c_forEach_0.doFinally(); _jspx_tagPool_c_forEach_var_items.reuse(_jspx_th_c_forEach_0); } return false; }
private boolean _jspx_meth_c_if_3(PageContext _jspx_page_context) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut(); // c:if org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_3 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class); _jspx_th_c_if_3.setPageContext(_jspx_page_context); _jspx_th_c_if_3.setParent(null); _jspx_th_c_if_3.setTest( ((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${notFooter==null}", java.lang.Boolean.class, (PageContext) _jspx_page_context, null)) .booleanValue()); int _jspx_eval_c_if_3 = _jspx_th_c_if_3.doStartTag(); if (_jspx_eval_c_if_3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { do { out.write("\r\n"); out.write("<!-- 底部信息 -->\r\n"); out.write("<div class=\"footer-bg\">\r\n"); out.write("\t<div class=\"footer clearfix\">\r\n"); out.write("\t\t<ul class=\"clearfix\">\r\n"); out.write("\t\t\t<li><a href=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${appPath }", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("/about#about\" target=\"_blank\">关于我们</a></li>\r\n"); out.write("\t\t\t<li>|</li>\r\n"); out.write("\t\t\t<li><a href=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${appPath }", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("/about#nav\" target=\"_blank\">网站导航</a></li>\r\n"); out.write("\t\t\t<li>|</li>\r\n"); out.write("\t\t\t<li><a href=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${appPath }", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("/about#copyright\" target=\"_blank\">版权所有</a></li>\r\n"); out.write("\t\t\t<li>|</li>\r\n"); out.write("\t\t\t<li><a href=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${appPath }", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("/about#link\" target=\"_blank\">友情链接</a></li>\r\n"); out.write("\t\t\t<li>|</li>\r\n"); out.write("\t\t\t<li><a href=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${appPath }", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("/about#contact\" target=\"_blank\">联系我们</a></li>\r\n"); out.write("\t\t\t<li>|</li>\r\n"); out.write("\t\t\t<li><a href=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${appPath }", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("/about#zhaopin\" target=\"_blank\">招聘信息</a></li>\r\n"); out.write("\t\t</ul>\r\n"); out.write("\t\t<p>©2001-2015 中国采购与招标网 京ICP证070104号</p>\r\n"); out.write("\t</div>\r\n"); out.write("</div>\r\n"); int evalDoAfterBody = _jspx_th_c_if_3.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); } if (_jspx_th_c_if_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_3); return true; } _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_3); return false; }
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;charset=UTF-8"); 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.glassfish.jsp.api.ResourceInjector) application.getAttribute("com.sun.appserv.jsp.resource.injector"); out.write( "<div id=\"MassageTypesTabs\" class=\"tab-pane\" role=\"tabpanel\" version=\"2.0\">"); if (_jspx_meth_spring_url_0(_jspx_page_context)) return; out.write("<div class=\"container\">"); out.write("<div class=\"row\">"); out.write("<div class=\"col-sm-12\">"); out.write("<div role=\"forn\" class=\"form-horizontal\">"); out.write("<div style=\"margin-top: 10px\" class=\"form-group\">"); out.write( "<button style=\"margin-right:5px;\" class=\"btn btn-success\" id=\"mastypeBtnAdd\">"); out.write("<span class=\"glyphicon glyphicon-plus\" />"); out.write("</button>"); out.write( "<button style=\"margin-right:5px;\" class=\"btn btn-danger\" id=\"mastypeDelete\">"); out.write("<span class=\"glyphicon glyphicon-minus\" />"); out.write("</button>"); out.write("</div>"); out.write("<div class=\"form-group\">"); out.write("<div>"); out.write("<table role=\"table\" data-toggle=\"table\" class=\"table table-responsive\">"); out.write("<thead>"); out.write("<tr>"); out.write("<th>"); out.write("<div>"); out.write("<center>"); out.write("<input type=\"checkbox\" id=\"checkBoxmastypeAll\" />"); out.write("</center>"); out.write("</div>"); out.write("</th>"); out.write("<th>"); out.write("<center>"); out.write("Edit"); out.write("</center>"); out.write("</th>"); out.write("<th>"); out.write("<center>"); out.write("TypeCode"); out.write("</center>"); out.write("</th>"); out.write("<th>"); out.write("<center>"); out.write("TypeName"); out.write("</center>"); out.write("</th>"); out.write("<th>"); out.write("<center>"); out.write("Detail"); out.write("</center>"); out.write("</th>"); out.write("</tr>"); out.write("</thead>"); out.write("<tbody id=\"tablemastype\">"); out.write("</tbody>"); out.write("</table>"); out.write("</div>"); out.write("</div>"); out.write("</div>"); out.write("<div class=\"form-horizontal\">"); out.write( "<div aria-hidden=\"true\" aria-labelledby=\"myModalLabel\" role=\"dialog\" class=\"modal fade\" id=\"modalAddmastype\">"); out.write("<div class=\"modal-dialog\">"); out.write("<div class=\"modal-content\">"); out.write("<div class=\"modal-header\">"); out.write("<h4>"); out.write("Add Data"); out.write("</h4>"); out.write("</div>"); out.write("<div class=\"modal-body\">"); out.write("<div class=\"form-group\">"); out.write("<label class=\"col-sm-3 control-label required\">"); out.write("TypeCode"); out.write("</label>"); out.write("<div class=\"col-sm-6\">"); out.write( "<input data-placement=\"bottom\" data-content=\"GG\" data-toggle=\"popover\" class=\"form-control\" type=\"text\" id=\"typeCodeAdd\" />"); out.write("</div>"); out.write("</div>"); out.write("<div class=\"form-group\">"); out.write("<label class=\"col-sm-3 control-label required\">"); out.write("TypeName"); out.write("</label>"); out.write("<div class=\"col-sm-6\">"); out.write( "<input data-placement=\"bottom\" data-content=\"GG\" data-toggle=\"popover\" class=\"form-control\" type=\"text\" id=\"typeNameAdd\" />"); out.write("</div>"); out.write("</div>"); out.write("<div class=\"form-group\">"); out.write("<label class=\"col-sm-3 control-label required\">"); out.write("Detail"); out.write("</label>"); out.write("<div class=\"col-sm-6\">"); out.write( "<textarea maxlength=\"50\" data-placement=\"bottom\" data-content=\"GG\" data-toggle=\"popover\" class=\"form-control\" id=\"typeDetailAdd\">"); out.write("</textarea>"); out.write("</div>"); out.write("</div>"); out.write("</div>"); out.write("<div class=\"modal-footer\">"); out.write("<center>"); out.write("<button class=\"btn btn-primary\" id=\"modalBtnAddmastype\">"); out.write("<span class=\"glyphicon glyphicon glyphicon-ok\" />"); out.write("</button>"); out.write("<button class=\"btn btn-danger\" id=\"btnCancelmastype\">"); out.write("<span class=\"glyphicon glyphicon glyphicon-remove\" />"); out.write("</button>"); out.write("<button class=\"btn btn-primary\" id=\"modalBtnAddNextmastype\">"); out.write("<span class=\"glyphicon glyphicon glyphicon-chevron-right\" />"); out.write("</button>"); out.write("</center>"); out.write("</div>"); out.write("</div>"); out.write("</div>"); out.write("</div>"); out.write( "<div aria-hidden=\"true\" aria-labelledby=\"myModalLabel\" role=\"dialog\" class=\"modal fade\" id=\"modalEditmastype\">"); out.write("<div class=\"modal-dialog\">"); out.write("<div class=\"modal-content\">"); out.write("<div class=\"modal-header\">"); out.write("<h4>"); out.write("Edit Data"); out.write("</h4>"); out.write("</div>"); out.write("<div class=\"modal-body\">"); out.write("<div class=\"form-group\">"); out.write("<label class=\"col-sm-3 control-label required\">"); out.write("TypeCode"); out.write("</label>"); out.write("<div class=\"col-sm-6\">"); out.write( "<input data-placement=\"bottom\" data-content=\"GG\" data-toggle=\"popover\" class=\"form-control\" type=\"text\" id=\"typeCodeEdit\" />"); out.write("</div>"); out.write("</div>"); out.write("<div class=\"form-group\">"); out.write("<label class=\"col-sm-3 control-label required\">"); out.write("TypeName"); out.write("</label>"); out.write("<div class=\"col-sm-6\">"); out.write( "<input data-placement=\"bottom\" data-content=\"GG\" data-toggle=\"popover\" class=\"form-control\" type=\"text\" id=\"typeNameEdit\" />"); out.write("</div>"); out.write("</div>"); out.write("<div class=\"form-group\">"); out.write("<label class=\"col-sm-3 control-label required\">"); out.write("Detail"); out.write("</label>"); out.write("<div class=\"col-sm-6\">"); out.write( "<textarea maxlength=\"50\" data-placement=\"bottom\" data-content=\"GG\" data-toggle=\"popover\" class=\"form-control\" id=\"typeDetailEdit\">"); out.write("</textarea>"); out.write("</div>"); out.write("</div>"); out.write("</div>"); out.write("<div class=\"modal-footer\">"); out.write("<center>"); out.write("<button class=\"btn btn-primary\" id=\"modalBtnEditmastype\">"); out.write("<span class=\"glyphicon glyphicon glyphicon-ok\" />"); out.write("</button>"); out.write("<button class=\"btn btn-danger\" id=\"btnCancelEditmastype\">"); out.write("<span class=\"glyphicon glyphicon glyphicon-remove\" />"); out.write("</button>"); out.write("</center>"); out.write("</div>"); out.write("</div>"); out.write("</div>"); out.write("</div>"); out.write("</div>"); out.write("</div>"); out.write("</div>"); out.write("</div>"); out.write( "<script src=\"" + (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${massagetypes}", java.lang.String.class, (PageContext) _jspx_page_context, null) + "\">"); out.write("</script>"); out.write("</div>"); } 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); else throw new ServletException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
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;charset=UTF-8"); 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.glassfish.jsp.api.ResourceInjector) application.getAttribute("com.sun.appserv.jsp.resource.injector"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("<!DOCTYPE html>\n"); out.write("<html>\n"); out.write(" <head>\n"); out.write( " <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n"); out.write("\t\t\n"); out.write("\t\t\n"); out.write(" <title>E-HEALTH</title>\n"); out.write("\t\t\n"); out.write("\t\t\n"); out.write("\t\t<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\" />\n"); out.write( " <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0\">\n"); out.write("\n"); out.write( " <link rel=\"stylesheet\" type=\"text/css\" href=\"Semantic-UI-1.0/dist/semantic.css\">\n"); out.write(" <link rel=\"stylesheet\" type=\"text/css\" href=\"css/homepage.css\">\n"); out.write(" <link rel=\"stylesheet\" type=\"text/css\" href=\"css/flaticon.css\">\n"); out.write("\n"); out.write( " <script src=\"http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.js\"></script>\n"); out.write(" <script src=\"Semantic-UI-1.0/dist/semantic.js\"></script>\n"); out.write(" <script src=\"js/homepage.js\"></script>\n"); out.write(" <script>\n"); out.write(" $(function () {\n"); out.write(" $('.ui.card').popup();\n"); out.write(" });\n"); out.write(" </script>\n"); out.write(" </head>\n"); out.write(" <body>\n"); out.write( " <div class=\"ui inverted masthead centered segment\" style=\"background-color: #182A73; width: 100%\">\n"); out.write( " <div class=\"ui page grid\" style=\"background-color: #182A73; width: 100%\">\n"); out.write( " <div class=\"column\" style=\"background-color: #182A73; width: 100%\">\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write( " <div class=\"ui secondary pointing menu\" style=\"background-color: #182A73\">\n"); out.write(" <a class=\"logo item\" href=\"index.html\">\n"); out.write( " <img src=\"images/ehealth-logo.jpeg\" height=\"50\" width=\"70\">\n"); out.write(" </a>\n"); out.write(" <a class=\"item\" href=\"index.html\">\n"); out.write(" <i class=\"flaticon-home\"></i> Home\n"); out.write(" </a>\n"); out.write(" <a class=\"item\" href=\"aboutus.html\">\n"); out.write(" <i class=\"mail icon\"></i> Contact Admin\n"); out.write(" </a>\n"); out.write( " <a class=\"item\" href=\"http://www.nhp.gov.in/helpline_pg\">\n"); out.write(" <i class=\"heart icon\"></i> Emergency Nos.\n"); out.write(" </a>\n"); out.write(" <div class=\"right menu\">\n"); out.write(" <!--<div class=\"item\">\n"); out.write(" <div class=\"ui icon input \">\n"); out.write( " <input placeholder=\"Search...\" type=\"text\">\n"); out.write( " <a href=\"search.html\" class=\"inverted circular search link icon\">\n"); out.write( " <i class=\"inverted circular search link icon\"> </i>\n"); out.write(" </a>\n"); out.write("\n"); out.write(" </div> -->\n"); out.write(" </div>\n"); out.write(" <a class=\"ui item\" href=\"login.html\">\n"); out.write(" <!-- Login -->\n"); out.write(" </a> \n"); out.write(" </div>\n"); out.write(" </div>\n"); out.write(" <br><br>\n"); out.write("\n"); out.write(" \n"); out.write(" </div>\n"); out.write(" </div>\n"); out.write(" </div>\n"); out.write("\n"); out.write(" </body>\n"); out.write("</html>\n"); out.write("\n"); out.write("<!DOCTYPE html>\n"); out.write("<html>\n"); out.write(" <head>\n"); out.write( " <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n"); out.write("\t\t\n"); out.write("\t\t<!-- below link and scripts taken from register.html -->\n"); out.write("\t\t\n"); out.write( "\t\t<link rel=\"stylesheet\" href=\"Semantic-UI-1.0/dist/semantic.min.css\" type=\"text/css\">\n"); out.write(" <link rel=\"stylesheet\" href=\"css/constant1.css\" type=\"text/css\">\n"); out.write("\t\t<script src=\"js/jquery-2.1.4.min.js\"></script>\n"); out.write("\t\t<script src=\"js/constant.js\"></script>\n"); out.write("\t\t<script src=\"js/code.js\"></script>\n"); out.write("\n"); out.write(" <script src=\"Semantic-UI-1.0/dist/semantic.min.js\"></script>\n"); out.write(" <link href=\"css/cdn.css\" rel=\"stylesheet\">\n"); out.write(" \n"); out.write(" <meta charset=\"UTF-8\">\n"); out.write( " <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n"); out.write("\t\t\n"); out.write("\t\t\n"); out.write(" <title>Registration</title>\n"); out.write(" </head>\n"); out.write(" <body>\n"); out.write(" <section id=\"training\">\n"); out.write(" <h1> REGISTRATION FORM </h1>\n"); out.write( " <div class=\"container\" style=\"padding-right: 30%; padding-bottom: 30%; padding-top: -10%;\">\n"); out.write(" <fieldset style=\"display: block;\">\n"); out.write( " <form data-toggle=\"validator\" class=\"form-horizontal\" id=\"seekerForm\" method=\"post\" action=\"RegisterServlet.do\">\n"); out.write(" <div class=\"form-group has-feedback\">\n"); out.write( " <label class=\"control-label col-xs-3\" for=\"firstName\">First Name:</label>\n"); out.write(" <div class=\"col-xs-9\">\n"); out.write( " <input type=\"text\" class=\"form-control\" placeholder=\"First Name\" name=\"fname\" pattern=\"^([a-zA-Z]+)$\" data-error=\"Please fill this feild appropriately\" required>\n"); out.write( " <span class=\"glyphicon form-control-feedback\" aria-hidden=\"true\"></span>\n"); out.write(" <span class=\"help-block with-errors\"></span>\n"); out.write(" </div>\n"); out.write(" </div>\n"); out.write(" <div class=\"form-group has-feedback\">\n"); out.write( " <label class=\"control-label col-xs-3\" for=\"lastName\">Last Name:</label>\n"); out.write(" <div class=\"col-xs-9\">\n"); out.write( " <input type=\"text\" class=\"form-control\" id=\"lastName\" placeholder=\"Last Name\" name=\"lName\" pattern=\"^([a-zA-Z']+)$\" data-error=\"Please fill this feild\" required>\n"); out.write(" \n"); out.write(" <span class=\"help-block with-errors\"></span>\n"); out.write(" </div>\n"); out.write(" </div>\n"); out.write(" \n"); out.write(" \n"); out.write(" <div class=\"form-group has-feedback\">\n"); out.write( " <label class=\"control-label col-xs-3\" for=\"phoneNumber\">Mobile No.:</label>\n"); out.write(" <div class=\"col-xs-9\">\n"); out.write( " <input type=\"text\" class=\"form-control\" id=\"phoneNumber\" name=\"phone\" placeholder=\"Phone Number\" pattern=\"^([1-9][0-9]{9})$\" data-error=\"Invalid phone number\" name=\"phoneNumber\" required>\n"); out.write(" \n"); out.write(" <span class=\"help-block with-errors\"></span>\n"); out.write(" </div>\n"); out.write(" </div>\n"); out.write(" <div class=\"form-group\">\n"); out.write( " <label class=\"control-label col-xs-3\" >Date of Birth:</label>\n"); out.write(" <div class=\"col-xs-5 date\">\n"); out.write( " <div class=\"input-group input-append date\" id=\"datePicker\">\n"); out.write( " <input type=\"text\" class=\"form-control\" name=\"dob\" placeholder=\"yyyy/mm/dd\" required id=\"dob\"> \n"); out.write(" <span id=\"doberror\"> </span> \n"); out.write( " <span class=\"input-group-addon add-on\"><span class=\"glyphicon glyphicon-calendar\"></span></span>\n"); out.write(" </div>\n"); out.write(" </div>\n"); out.write(" </div>\n"); out.write(" \n"); out.write(" \n"); out.write(" <div class=\"form-group\">\n"); out.write(" <label class=\"control-label col-xs-3\">Gender:</label>\n"); out.write(" <div class=\"col-xs-2\">\n"); out.write(" <!--label class=\"radio-inline\">\n"); out.write( " <input type=\"radio\" name=\"sex\" value=\"male\"> Male\n"); out.write( " <input type=\"radio\" name=\"sex\" value=\"female\"> Female\n"); out.write(" </label-->\n"); out.write( " <input type=\"radio\" name=\"sex\" value=\"male\"> Male\n"); out.write( " <input type=\"radio\" name=\"sex\" value=\"female\"> Female\n"); out.write(" </div>\n"); out.write(" \n"); out.write(" </div> \n"); out.write(" \n"); out.write(" <div class=\"form-group has-feedback\">\n"); out.write( " <label class=\"control-label col-xs-3\" for=\"Street\">Street:</label>\n"); out.write(" <div class=\"col-xs-9\">\n"); out.write( " <input type=\"text\" class=\"form-control\" placeholder=\"Street\" name=\"street\" pattern=\"^([a-zA-Z]+)$\" data-error=\"Please fill this feild appropriately\" required>\n"); out.write( " <span class=\"glyphicon form-control-feedback\" aria-hidden=\"true\"></span>\n"); out.write(" <span class=\"help-block with-errors\"></span>\n"); out.write(" </div>\n"); out.write(" </div> \n"); out.write(" \n"); out.write(" <div class=\"form-group has-feedback\">\n"); out.write( " <label class=\"control-label col-xs-3\" for=\"city\">City:</label>\n"); out.write(" <div class=\"col-xs-9\">\n"); out.write( " <input type=\"text\" class=\"form-control\" placeholder=\"City\" name=\"city\" pattern=\"^([a-zA-Z]+)$\" data-error=\"Please fill this feild appropriately\" required>\n"); out.write( " <span class=\"glyphicon form-control-feedback\" aria-hidden=\"true\"></span>\n"); out.write(" <span class=\"help-block with-errors\"></span>\n"); out.write(" </div>\n"); out.write(" </div> \n"); out.write(" <script type=\"text/javascript\">\n"); out.write(" function loadXMLDoc()\n"); out.write(" {\n"); out.write(" var xmlhttp;\n"); out.write(" var k=document.getElementById(\"username\").value;\n"); out.write(" var urls=\"checkusername.jsp?ver=\"+k;\n"); out.write("\n"); out.write(" if (window.XMLHttpRequest)\n"); out.write(" {\n"); out.write(" xmlhttp=new XMLHttpRequest();\n"); out.write(" }\n"); out.write(" else\n"); out.write(" {\n"); out.write(" xmlhttp=new ActiveXObject(\"Microsoft.XMLHTTP\");\n"); out.write(" }\n"); out.write(" xmlhttp.onreadystatechange=function()\n"); out.write(" {\n"); out.write(" if (xmlhttp.readyState==4)\n"); out.write(" {\n"); out.write( " document.getElementById(\"err\").innerHTML=xmlhttp.responseText;\n"); out.write(" }\n"); out.write(" }\n"); out.write(" xmlhttp.open(\"GET\",urls,true);\n"); out.write(" xmlhttp.send();\n"); out.write(" }\n"); out.write(" function validDate()\n"); out.write(" {\n"); out.write(" //var date=document.getElementById(\"dob\");\n"); out.write(" var currVal = document.getElementById(\"dob\");\n"); out.write(" var doberror=document.getElementById(\"doberror\");\n"); out.write(" if(currVal == '')\n"); out.write(" return false;\n"); out.write("\n"); out.write(" //var rxDatePattern = /^(\\d{1,2})(\\/|-)(\\d{1,2})(\\/|-)(\\d{4})$/;\n"); out.write( " var rxDatePattern=/^(\\d{4})([\\/-])(\\d{1,2})\\2(\\d{1,2})$/; //Declare Regex\n"); out.write(" var dtArray = currVal.match(rxDatePattern); // is format OK?\n"); out.write("\n"); out.write(" if (dtArray == null) \n"); out.write(" return false;\n"); out.write("\n"); out.write(" //Checks for mm/dd/yyyy format.\n"); out.write(" dtMonth = dtArray[3];\n"); out.write(" dtDay= dtArray[4];\n"); out.write(" dtYear = dtArray[1]; \n"); out.write("\n"); out.write(" if (dtMonth < 1 || dtMonth > 12) \n"); out.write(" return false;\n"); out.write(" else if (dtDay < 1 || dtDay> 31) \n"); out.write(" return false;\n"); out.write( " else if ((dtMonth==4 || dtMonth==6 || dtMonth==9 || dtMonth==11) && dtDay ==31) \n"); out.write(" return false;\n"); out.write(" else if (dtMonth == 2) \n"); out.write(" {\n"); out.write( " var isleap = (dtYear % 4 == 0 && (dtYear % 100 != 0 || dtYear % 400 == 0));\n"); out.write(" if (dtDay> 29 || (dtDay ==29 && !isleap)) \n"); out.write(" {\n"); out.write( " doberror.innerHTML = \"<span style=color: red>Wrong Format </span>\";\n"); out.write(" return false;\n"); out.write(" \n"); out.write(" }\n"); out.write(" }\n"); out.write(" doberror.innerHTML = \"<span style=color: green>Valid Format </span>\";\n"); out.write(" return true;\n"); out.write(" }\n"); out.write(" </script>\n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" <div class=\"form-group has-feedback\">\n"); out.write( " <label class=\"control-label col-xs-3\" for=\"inputEmail\">Email:</label>\n"); out.write(" <div class=\"col-xs-9\" id=\"email\">\n"); out.write( " <input type=\"email\" class=\"form-control\" id=\"username\" placeholder=\"Email\" name=\"email\" pattern=\"^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$\" data-error=\"Invalid email address\" required onblur=\"loadXMLDoc()\">\n"); out.write( " <span class=\"glyphicon form-control-feedback\" aria-hidden=\"true\"></span>\n"); out.write(" <span id=\"err\"> </span>\n"); out.write(" </div>\n"); out.write(" </div>\n"); out.write(" \n"); out.write(" <div class=\"form-group has-feedback\">\n"); out.write( " <label class=\"control-label col-xs-3\" for=\"zip\">Zip Code:</label>\n"); out.write(" <div class=\"col-xs-9\">\n"); out.write( " <input type=\"text\" class=\"form-control\" id=\"zipCode\" placeholder=\"Zip Code\" pattern=\"^([1-9][0-9]{5})$\" data-error=\"Invalid zip code\" name=\"zip\" required>\n"); out.write(" <span class=\"help-block with-errors\"></span>\n"); out.write(" </div>\n"); out.write(" </div> \n"); out.write(" \n"); out.write(" <div class=\"form-group has-feedback\">\n"); out.write( " <label class=\"control-label col-xs-3\" for=\"apt\">AptNo:</label>\n"); out.write(" <div class=\"col-xs-9\">\n"); out.write( " <input type=\"text\" class=\"form-control\" id=\"aptno\" name=\"aptno\" placeholder=\"Apartment Number\" pattern=\"^([1-9][0-9]{2})$\" data-error=\"Invalid apt no\" required>\n"); out.write(" \n"); out.write(" <span class=\"help-block with-errors\"></span>\n"); out.write(" </div>\n"); out.write(" </div>\n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" <!-- \n"); out.write(" <div class=\"form-group has-feedback\">\n"); out.write( " <label class=\"control-label col-xs-3\" for=\"cap\">Retype captcha text</label>\n"); out.write(" <div class=\"col-xs-9\">\n"); out.write(" \n"); out.write(" <div class=\"validationDiv\">\n"); out.write( " <input type=\"text\" class=\"form-control captchaVal\" id=\"captchaCodeTextBox\" name=\"captchaCodeTextBox\" required>\n"); out.write(" <label class=\"incorrect\">"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${messages.captchaCodeIncorrect}", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("</label>\n"); out.write(" </div> \n"); out.write(" </div>\n"); out.write(" </div> -->\n"); out.write(" \n"); out.write(" \n"); out.write(" <div class=\"form-group\">\n"); out.write(" <div class=\"col-xs-offset-3 col-xs-9\">\n"); out.write(" \n"); out.write(" <label class=\"checkbox-inline\">\n"); out.write( " <input type=\"checkbox\" value=\"agree\" required> I agree to the <a href=\"#\">Terms and Conditions</a>.\n"); out.write(" </label>\n"); out.write(" </div>\n"); out.write(" </div>\n"); out.write(" <br>\n"); out.write(" \n"); out.write(" <div class=\"form-group\">\n"); out.write(" \n"); out.write(" <div class=\"col-xs-3\">\n"); out.write(" <label>Register As </label>\n"); out.write("\t\t\t\t\t\t<select class=\"form-control\" id=\"cat\" name=\"type\" required>\n"); out.write( "\t\t\t\t\t\t<option name=\"type\" selected=\"selected\" value=\"Patient\" >Patient</option>\n"); out.write("\t\t\t\t\t\t<option name=\"type\" value=\"Doctor\">Doctor</option>\n"); out.write("\t\t\t\t\t\t<option name=\"type\" value=\"Pharmacist\">Pharmacist</option>\t\n"); out.write("\t\t\t\t\t\t<option name=\"type\" value=\"Pathologist\">Pathologist</option>\t\n"); out.write("\t\t\t\t\t\t</select>\n"); out.write(" </div>\n"); out.write(" </div>\n"); out.write("\t\n"); out.write("<div>\n"); out.write("\t<ul style=\"list-style:none\">\n"); out.write("\t\t<label for=\"li1\" id=\"l1\"></label>\n"); out.write("\t\t<li id=\"li1\" style=\"display:none\">\n"); out.write( " <input id=\"i1\" type=\"text\" name=\" \" placeholder=\" \" > <br>\n"); out.write("\t\t</li>\n"); out.write("\n"); out.write("\t\t<label for=\"li1\" id=\"l2\"></label>\n"); out.write("\t\t<li id=\"li2\" style=\"display:none\">\n"); out.write( " <input id=\"i2\" type=\"text\" name=\" \" placeholder=\" \" > <br>\n"); out.write("\t\t</li>\n"); out.write("\n"); out.write("\t\t<label for=\"li1\" id=\"l3\"></label>\n"); out.write("\t\t<li id=\"li3\" style=\"display:none\">\n"); out.write( " <input id=\"i3\" type=\"text\" name=\" \" placeholder=\"\" > <br>\n"); out.write("\t\t\n"); out.write("\t\t</li>\n"); out.write("\n"); out.write("\t\t<label for=\"li1\" id=\"l4\"></label>\n"); out.write("\t\t<li id=\"li4\" style=\"display:none\">\n"); out.write( " <input id=\"i4\" type=\"text\" name=\" \" placeholder=\"\" > <br>\n"); out.write("\t\t\n"); out.write("\t\t</li>\n"); out.write("\n"); out.write("\t\t<label for=\"li1\" id=\"l5\"></label>\n"); out.write("\t\t<li id=\"li5\" style=\"display:none\">\n"); out.write( " <input id=\"i5\" type=\"text\" name=\" \" placeholder=\"\" > <br>\n"); out.write("\t\t</li>\n"); out.write("\n"); out.write("\t</ul>\n"); out.write("\t</div>\n"); out.write(" <!--\n"); out.write(" <script>\n"); out.write(" validate();\n"); out.write(" </script>\n"); out.write(" -->\n"); out.write("\n"); out.write("\t\t<!--\n"); out.write("\t\t\tJQUERY DROPDOWN\n"); out.write("\t\t-->\n"); out.write("\t\t\n"); out.write("\t<script>\n"); out.write("\t\t\n"); out.write(" \n"); out.write("\t\t$( document ).ready(function() {\n"); out.write("\t\t\t//var num=2;\n"); out.write("\t\t\tvar typ=\"Patient\";\n"); out.write(" //alert(\"typ =\"+typ);\n"); out.write("\t\t\t//$('#input1').attr('name', 'other_amount');\n"); out.write("\t\t\t\n"); out.write("\t\t\t\t\t$(\"#li1\").show();\n"); out.write("\t\t\t\t\t$(\"#li2\").show();\n"); out.write("\t\t\t\t\t$(\"#li3\").hide();\n"); out.write("\t\t\t\t\t$(\"#li4\").hide();\n"); out.write("\t\t\t\t\t$(\"#li5\").hide();\n"); out.write("\n"); out.write("\t\t\t\t\t$(\"#l1\").text(\"Aadhar Number\");\n"); out.write(" \t\t\t\t\t$(\"#l2\").text(\"Blood Group\");\n"); out.write("\t\t\t\n"); out.write("\t\t\t\t\t$('#i1').attr('name', 'aadhar_no');\n"); out.write("\t\t\t\t\t$('#i2').attr('name', 'bloodgrp');\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t//alert(\" \"+$('#i1').attr('name')+\" \"+$('#i2').attr('name'));\n"); out.write("\t\t\t\n"); out.write("\t\t\t\n"); out.write("\t\t\t$( \"#cat\" ).change(function() {\n"); out.write("//\t\t\talert(\"inside change\");\n"); out.write("\t\t\ttyp=$( \"#cat\").val();\n"); out.write("\t\t\t//alert(\"typ =\"+typ);\n"); out.write("\t\t\tswitch(typ){\n"); out.write("\t\t\t\t\n"); out.write("\t\t\t\tcase \"Patient\":\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\n"); out.write("\t\t\t\t\t$(\"#li1\").show();\n"); out.write("\t\t\t\t\t$(\"#li2\").show();\n"); out.write("\t\t\t\t\t$(\"#li3\").hide();\n"); out.write("\t\t\t\t\t$(\"#li4\").hide();\n"); out.write("\t\t\t\t\t$(\"#li5\").hide();\n"); out.write("\n"); out.write("\t\t\t\t\t$(\"#l1\").text(\"Aadhar Number\");\n"); out.write(" \t\t\t\t\t$(\"#l2\").text(\"Blood Group\");\n"); out.write("\t\t\t\t\t$(\"#l3\").text(\"\");\n"); out.write("\t\t\t\t\t$(\"#l4\").text(\"\");\n"); out.write("\t\t\t\t\t$(\"#l5\").text(\"\");\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t$('#i1').attr('name', 'aadhar_no');\n"); out.write("\t\t\t\t\t$('#i2').attr('name', 'bloodgrp');\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t//alert(\" \"+$('#i1').attr('name')+\" \"+$('#i2').attr('name'));\n"); out.write("\t\t\t\t\tbreak;\n"); out.write("\t\t\t\t\t\n"); out.write(" \t\n"); out.write("\t\t\t\tcase \"Doctor\":\n"); out.write("\t\t\t\t\t\n"); out.write("\n"); out.write("\t\t\t\t\t$(\"#li1\").show();\n"); out.write("\t\t\t\t\t$(\"#li2\").show();\n"); out.write("\t\t\t\t\t$(\"#li3\").show();\n"); out.write("\t\t\t\t\t$(\"#li4\").show();\n"); out.write("\t\t\t\t\t$(\"#li5\").show();\n"); out.write("\n"); out.write("\n"); out.write("\t\t\t\t\t$(\"#l1\").text(\"Doctor Speciality\");\n"); out.write(" \t\t\t\t\t$(\"#l2\").text(\"Registration Number\");\n"); out.write("\t\t\t\t\t$(\"#l3\").text(\"Qualification\");\n"); out.write(" \t\t\t\t\t$(\"#l4\").text(\"Experience\");\n"); out.write("\t\t\t\t\t$(\"#l5\").text(\"Schedule\");\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t$('#i1').attr('name', 'doc_speciality');\n"); out.write("\t\t\t\t\t$('#i2').attr('name', 'doc_reg_no');\n"); out.write("\t\t\t\t\t$('#i3').attr('name', 'qualification');\n"); out.write("\t\t\t\t\t$('#i4').attr('name', 'experience');\n"); out.write("\t\t\t\t\t$('#i5').attr('name', 'schedule');\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t\n"); out.write( "\t\t\t\t\t/* alert(\" \"+$('#i1').attr('name')+\" \"+$('#i2').attr('name')+\" \"+$('#i3').attr('name')\n"); out.write("\t\t\t\t\t+\" \"+$('#i4').attr('name')+\" \"+$('#i5').attr('name')\n"); out.write("\t\t\t\t\t);*/\n"); out.write("\n"); out.write("\t\t\t\t\tbreak;\n"); out.write("\t\t\t\tcase \"Pathologist\":\n"); out.write("\t\t\t\t\t\n"); out.write("\n"); out.write("\t\t\t\t\t$(\"#li1\").show();\n"); out.write("\t\t\t\t\t$(\"#li2\").show();\n"); out.write("\t\t\t\t\t$(\"#li3\").show();\n"); out.write("\t\t\t\t\t$(\"#li4\").hide();\n"); out.write("\t\t\t\t\t$(\"#li5\").hide();\n"); out.write("\n"); out.write("\t\t\t\t\t$(\"#l1\").text(\"Lab Name\");\n"); out.write(" \t\t\t\t\t$(\"#l2\").text(\"Lab Address\");\n"); out.write("\t\t\t\t\t$(\"#l3\").text(\"Lab Registration ID\");\n"); out.write("\t\t\t\t\t$(\"#l4\").text(\"\");\n"); out.write("\t\t\t\t\t$(\"#l5\").text(\"\");\n"); out.write("\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t$('#i1').attr('name', 'lab_name');\n"); out.write("\t\t\t\t\t$('#i2').attr('name', 'lab_address');\n"); out.write("\t\t\t\t\t$('#i3').attr('name', 'lab_reg_id');\n"); out.write("\t\t\t\t\t\n"); out.write( "\t\t\t\t\t//alert(\" \"+$('#i1').attr('name')+\" \"+$('#i2').attr('name')+\" \"+$('#i3').attr('name'));\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\tbreak;\n"); out.write("\t\t\t\tcase \"Pharmacist\":\n"); out.write("\t\t\t\t\t\n"); out.write("//alert('pharmacist selected');\n"); out.write("\t\t\t\t\t$(\"#li1\").show();\n"); out.write("\t\t\t\t\t$(\"#li2\").show();\n"); out.write("\t\t\t\t\t$(\"#li3\").show();\n"); out.write("\t\t\t\t\t$(\"#li4\").hide();\n"); out.write("\t\t\t\t\t$(\"#li5\").hide();\n"); out.write("//alert('pharmacist fields shown');\n"); out.write("\t\t\t\t\t$(\"#l1\").text(\"Shop Name\");\n"); out.write(" \t\t\t\t\t$(\"#l2\").text(\"Shop Address\");\n"); out.write("\t\t\t\t\t$(\"#l3\").text(\"License Number\");\n"); out.write("\t\t\t\t\t$(\"#l4\").text(\"\");\n"); out.write("\t\t\t\t\t$(\"#l5\").text(\"\");\n"); out.write("//alert('pharmacist labels shown');\n"); out.write("\n"); out.write("\t\t\t\t\t$('#i1').attr('name', 'shop_name');\n"); out.write("\t\t\t\t\t$('#i2').attr('name', 'shop_address');\n"); out.write("\t\t\t\t\t$('#i3').attr('name', 'license_no');\n"); out.write("\t\t\t\t\t\n"); out.write( "\t\t\t\t\t//alert(\" \"+$('#i1').attr('name')+\" \"+$('#i2').attr('name')+\" \"+$('#i3').attr('name'));\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\tbreak;\t\n"); out.write("\t\t\t}\n"); out.write("\t\t\t});\n"); out.write("\n"); out.write("\t\t\t\n"); out.write("\t\t\t\n"); out.write("\t\t});\n"); out.write("\t\t\n"); out.write(" </script>\n"); out.write("\t\t\t\t\n"); out.write("\t\n"); out.write(" <div class=\"form-group has-feedback\">\n"); out.write( " <label class=\"control-label col-xs-3\" for=\"cap\">Retype captcha text</label>\n"); out.write(" <div class=\"col-xs-9\">\n"); out.write(" "); if (_jspx_meth_botDetect_captcha_0(_jspx_page_context)) return; out.write("\n"); out.write(" <div class=\"validationDiv\">\n"); out.write( " <input type=\"text\" class=\"form-control captchaVal\" id=\"captchaCodeTextBox\" name=\"captchaCodeTextBox\" required>\n"); out.write(" <label class=\"incorrect\">"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${messages.captchaCodeIncorrect}", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write("</label>\n"); out.write(" </div> \n"); out.write(" </div>\n"); out.write(" </div> \n"); out.write("\t\t\t\n"); out.write(" \n"); out.write(" <div class=\"form-group\">\n"); out.write(" <div class=\"col-xs-offset-3 col-xs-9\">\n"); out.write( " <input type=\"submit\" class=\"btn btn-primary btn-xl\" name=\"validate\" value=\"Submit\">\n"); out.write( " <input type=\"reset\" class=\"btn btn-primary btn-xl\" value=\"Reset\">\n"); out.write(" </div>\n"); out.write(" </div>\n"); out.write(" \n"); out.write(" \n"); out.write(" </form>\n"); out.write(" </fieldset>\n"); out.write(" </div>\n"); out.write(" </section>\n"); out.write(" \n"); out.write(" \n"); out.write(" <script>\n"); out.write(" $(document).ready(function () {\n"); out.write(" var x = "); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression( "${valid}", java.lang.String.class, (PageContext) _jspx_page_context, null)); out.write(";\n"); out.write(" if (x == 1)\n"); out.write(" $(\"#myModal\").modal(\"show\");\n"); out.write(" });\n"); out.write(" </script>\n"); out.write(" <script src=\"bootstrap-3.3.5-dist/js/bootstrap.min.js\"></script>\n"); out.write( " <script src=\"bootstrap-3.3.5-dist/js/bootstrap.js\" type=\"text/javascript\"></script>\n"); out.write( " <script src=\"js/bootstrap-datepicker.js\" type=\"text/javascript\"></script>\n"); out.write(" <script src=\"js/validator.js\" type=\"text/javascript\"></script>\n"); out.write(" \n"); out.write(" <div class=\"ui inverted footer vertical segment center bottom\">\n"); out.write(" <div class=\"ui stackable center aligned page grid\">\n"); out.write(" <div class=\"three column row\">\n"); out.write("\n"); out.write(" <div class=\"column\">\n"); out.write(" <h5 class=\"ui inverted header\">Schemes</h5>\n"); out.write(" <div class=\"ui inverted link list\">\n"); out.write( " <a class=\"item\"href=\"http://sahakara.kar.gov.in/shceme.html\">Schemes For SC/ST/OBC</a>\n"); out.write( " <a class=\"item\" href=\"http://india.gov.in/people-groups/life-cycle/senior-citizens/policiesschemes\">Schemes For The Old</a>\n"); out.write( " <a class=\"item\" href=\"http://www.rsby.gov.in/about_rsby.aspx\">Schemes for BPL</a>\n"); out.write( " <a class=\"item\" href=\"http://www.archive.india.gov.in/citizen/health/health.php?id=39\"> Schemes For Handicapped </a>\n"); out.write(" </div>\n"); out.write(" </div>\n"); out.write(" <div class=\"column\">\n"); out.write(" <h5 class=\"ui inverted header\">Hospitals</h5>\n"); out.write(" <div class=\"ui inverted link list\">\n"); out.write( " <a class=\"item\" href=\"http://stbmi.ac.in/matter/international%20pub/35_e-%20Health%20Initiatives%20in%20India_skmishra.pdf\">View List</a>\n"); out.write(" </div>\n"); out.write(" </div>\n"); out.write("\n"); out.write("\n"); out.write(" <div class=\"column\">\n"); out.write(" <h5 class=\"ui inverted header\">Designed By</h5>\n"); out.write(" The WebDesigner's Co.\n"); out.write("\n"); out.write("\n"); out.write(" </div>\n"); out.write(" </div>\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write(" </div>\n"); out.write(" </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) out.clearBuffer(); if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); else throw new ServletException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }