⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 customer_005fselect_jsp.java

📁 一个简单的java web项目 基于servlet构建
💻 JAVA
📖 第 1 页 / 共 4 页
字号:
package org.apache.jsp.pages.LeftMenu.billconsult;

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

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

  private static java.util.List _jspx_dependants;

  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005fproperty_005fvalue_005fnobody;
  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005fif_005ftest;
  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005felse;
  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005fiterator_005fvalue_005fstatus;
  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005fform_005fname_005faction;

  public Object getDependants() {
    return _jspx_dependants;
  }

  public void _jspInit() {
    _005fjspx_005ftagPool_005fs_005fproperty_005fvalue_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _005fjspx_005ftagPool_005fs_005fif_005ftest = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _005fjspx_005ftagPool_005fs_005felse = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _005fjspx_005ftagPool_005fs_005fiterator_005fvalue_005fstatus = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _005fjspx_005ftagPool_005fs_005fform_005fname_005faction = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
  }

  public void _jspDestroy() {
    _005fjspx_005ftagPool_005fs_005fproperty_005fvalue_005fnobody.release();
    _005fjspx_005ftagPool_005fs_005fif_005ftest.release();
    _005fjspx_005ftagPool_005fs_005felse.release();
    _005fjspx_005ftagPool_005fs_005fiterator_005fvalue_005fstatus.release();
    _005fjspx_005ftagPool_005fs_005fform_005fname_005faction.release();
  }

  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; 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;

      out.write("\r\n");
      out.write("\r\n");

String cpath = request.getContextPath();

      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 xmlns=\"http://www.w3.org/1999/xhtml\">\r\n");
      out.write("\t<head>\r\n");
      out.write("\t\t<link href=\"");
      out.print(cpath);
      out.write("/style/css_common1.css\" rel=\"stylesheet\"\r\n");
      out.write("\t\t\ttype=\"text/css\" />\r\n");
      out.write("\t\t<link href=\"");
      out.print(cpath);
      out.write("/style/mian.css\" rel=\"stylesheet\"\r\n");
      out.write("\t\t\ttype=\"text/css\" />\r\n");
      out.write("\t\t<script src=\"");
      out.print(cpath);
      out.write("/js/jquery126.js\"></script>\r\n");
      out.write("\t\t<script src=\"");
      out.print(cpath);
      out.write("/js/effect.js\"></script>\r\n");
      out.write("\t\t<title>从客户中选择</title>\r\n");
      out.write("\t</head>\r\n");
      out.write("\t<script src=\"");
      out.print(cpath);
      out.write("/js/page.js\"></script>\r\n");
      out.write("\t<script language=\"JavaScript\">\r\n");
      out.write("\t$(function(){\r\n");
      out.write("\t  \taddInputEffect();\r\n");
      out.write("\t  });\r\n");
      out.write("\t\t\r\n");
      out.write('\r');
      out.write('\n');
      out.write('\r');
      out.write('\n');
      out.write('\r');
      out.write('\n');
      out.write("\r\n");
      out.write("\t\r\n");
      out.write("\t\t \r\n");
      out.write("\t function search(){\t\t\r\n");
      out.write("\t\tif(document.getElementById('clayer').value!=\"\"){\r\n");
      out.write("    \t\tvar maxpr=document.getElementById('clayer').value;\r\n");
      out.write("\t    \tif(!maxpr.match(new RegExp(\"^[0-9]+$\"))){ \r\n");
      out.write("\t\t\t\t\talert(\"客户级别输入错误!\"); \r\n");
      out.write("\t\t\t\t\tmaxpr.select();\r\n");
      out.write("\t\t\t\t\tmaxpr.focus(); \r\n");
      out.write("\t\t\t\t\tcheckSuccess=false\r\n");
      out.write("\t\t\t\t\treturn; \r\n");
      out.write("\t\t\t}\r\n");
      out.write("\t    }\r\n");
      out.write("\t\tdocument.form.action=\"");
      out.print(cpath);
      out.write("/billconsult/select.action\";\r\n");
      out.write("\t\tgosubmit(document.form);\r\n");
      out.write("\t}\r\n");
      out.write("\t\r\n");
      out.write("\tfunction add(id,name){\r\n");
      out.write("\t\r\n");
      out.write("\t\topener.location=\"javascript:receivecustInfo(\"+id+\",\"+\"'\"+name+\"')\";\r\n");
      out.write("\t\twindow.close();\r\n");
      out.write("\t\r\n");
      out.write("\t}\r\n");
      out.write("\t \r\n");
      out.write("</script>\r\n");
      out.write("\t<body leftmargin=\"0\" topmargin=\"0\" class=\"bgOffice\" style=\"width:100%;\">\r\n");
      out.write("\t\t<form name=\"form\" method=post action=\"\">\r\n");
      out.write("\t\t\t\r\n");
      out.write("\t\t<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" style=\"width:100%;height:100%;\">\r\n");
      out.write("\t\t\t<input type=\"hidden\" id=\"taskId\" name=\"taskId\" value=\"");
      if (_jspx_meth_s_005fproperty_005f0(_jspx_page_context))
        return;
      out.write("\"/>\r\n");
      out.write("\t\t \t<input type=\"hidden\" id=\"sign\" name=\"sign\" value=\"");
      if (_jspx_meth_s_005fproperty_005f1(_jspx_page_context))
        return;
      out.write("\"/>\r\n");
      out.write("\t\t\t\t<tr>\r\n");
      out.write("\t\t\t\t\t<td>\r\n");
      out.write("\t\t\t\t\t\t<table width=\"100%\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\"\r\n");
      out.write("\t\t\t\t\t\t\tclass=\"title\">\r\n");
      out.write("\t\t\t\t\t\t\t<tr>\r\n");
      out.write("\t\t\t\t\t\t\t\t<td>\r\n");
      out.write("\t\t\t\t\t\t\t\t\t从客户中选择\r\n");
      out.write("\t\t\t\t\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t\t\t\t\t<td align=\"right\">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t<input type=\"button\" value=\"查 询\" class=\"input02\" onclick=\"search();\"/>\r\n");
      out.write("\t\t\t\t\t\t\t\t\t&nbsp;\r\n");
      out.write("\t\t\t\t\t\t\t\t\t<input class=\"input02\" type=\"reset\" value=\"重 置\"\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\tname=\"resetButton\" />\r\n");
      out.write("\t\t\t\t\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t\t\t\t</tr>\r\n");
      out.write("\t\t\t\t\t\t</table>\r\n");
      out.write("\t\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t</tr>\r\n");
      out.write("\t\t\t\t<tr>\r\n");
      out.write("\t\t\t\t\t<td class=\"bgOffice\" valign=\"top\" style=\"height: auto;\">\r\n");
      out.write("\t\t\t\t\t\t<!-- 注意:此处设置class为bgOffice -->\r\n");
      out.write("\t\t\t\t\t\t<table width=\"100%\" boder=\"0\" background=\"#CCCCCC\" cellpadding=\"0\"\r\n");
      out.write("\t\t\t\t\t\t\tcellspacing=\"0\" class=\"table02\">\r\n");
      out.write("\t\t\t\t\t\t\t<tr>\r\n");
      out.write("\t\t\t\t\t\t\t\t<td class=\"right\">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t客户名称:\r\n");
      out.write("\t\t\t\t\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t\t\t\t\t<td class=\"bgInput\">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t<input type=\"text\" name=\"cname\" size=\"15\"\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\tvalue=\"");
      if (_jspx_meth_s_005fproperty_005f2(_jspx_page_context))
        return;
      out.write("\" class=\"input01\" />\r\n");
      out.write("\t\t\t\t\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t\t\t\t\t<td class=\"right\">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t客户级别:\r\n");
      out.write("\t\t\t\t\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t\t\t\t\t<td class=\"bgInput\">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t<input type=\"text\" name=\"clayer\" size=\"15\"\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\tvalue=\"");
      if (_jspx_meth_s_005fproperty_005f3(_jspx_page_context))
        return;
      out.write("\" class=\"input01\" />\r\n");
      out.write("\t\t\t\t\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t\t\t\t</tr>\r\n");
      out.write("\r\n");
      out.write("\t\t\t\t\t\t\t<tr>\r\n");
      out.write("\t\t\t\t\t\t\t\t<td class=\"right\">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t开户地区编号:\r\n");
      out.write("\t\t\t\t\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t\t\t\t\t<td class=\"bgInput\">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t<input type=\"text\" name=\"carea\" size=\"15\"\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\tvalue=\"");
      if (_jspx_meth_s_005fproperty_005f4(_jspx_page_context))
        return;
      out.write("\" class=\"input01\" />\r\n");
      out.write("\t\t\t\t\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t\t\t\t\t<td>\r\n");
      out.write("\t\t\t\t\t\t\t\t\t&nbsp;\r\n");
      out.write("\t\t\t\t\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t\t\t\t\t<td class=\"bgInput\">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t&nbsp;\r\n");
      out.write("\t\t\t\t\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t\t\t\t</tr>\r\n");
      out.write("\t\t\t\t\t\t</table>\r\n");
      out.write("\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t</tr>\r\n");
      out.write("\t\t\t\t<tr>\r\n");
      out.write("\t\t\t\t\t<td width=\"100%\" style=\"background-color: white\">\r\n");
      out.write("\t\t\t\t\t\t&nbsp;\r\n");
      out.write("\t\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t</tr>\r\n");
      out.write("\t\t\t\t</form>\r\n");
      out.write("\t\t\t\t<form name=\"addform\" action=\"\" id=\"addform\" method=\"post\">\r\n");
      out.write("\t\t\t\t\t<input type=\"hidden\" id=\"returnsign\" name=\"returnsign\" value=\"");
      if (_jspx_meth_s_005fproperty_005f5(_jspx_page_context))
        return;
      out.write("\"/>\r\n");
      out.write("\t\t\t\t\t<input type=\"hidden\" id=\"taskId\" name=\"taskId\" value=\"");
      if (_jspx_meth_s_005fproperty_005f6(_jspx_page_context))
        return;
      out.write("\"/>\r\n");
      out.write("\t\t\t\t\t<input type=\"hidden\" id=\"sign\" name=\"sign\" value=\"");
      if (_jspx_meth_s_005fproperty_005f7(_jspx_page_context))
        return;
      out.write("\"/>\r\n");
      out.write("\t\t\t\t\t<tr>\r\n");
      out.write("\t\t\t\t\t\t<td>\r\n");
      out.write("\t\t\t\t\t\t\t<div id=\"listcontent\"\r\n");
      out.write("\t\t\t\t\t\t\t\tstyle=\"width: expression(document.body.offsetWidth); height: 250px; overflow: auto;overflow-x:hidden\">\r\n");
      out.write("\t\t\t\t\t\t\t\t<table class=\"datalist\" id=\"datacolor\" border=\"0\"\r\n");
      out.write("\t\t\t\t\t\t\t\t\tcellpadding=\"0\" cellspacing=\"0\">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t<tr>\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t<th class=\"right\">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t\t<div style=\"width: 120px;\">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t\t\t客户姓名\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t\t</div>\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t</th>\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t<th class=\"right\">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t\t<div style=\"width: 120px;\">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t\t\t传真号码\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t\t</div>\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t</th>\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t<th class=\"right\">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t\t<div style=\"width: 120px;\">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t\t\t客户类型\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t\t</div>\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t</th>\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t<th class=\"right\">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t\t<div style=\"width: 50px;\">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t\t\t操作\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t\t</div>\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t</th>\r\n");
      out.write("\t\t\t\t\t\t\t\t\t</tr>\r\n");
      out.write("\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" name=\"selItem\" value=\"001\"\r\n");

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -