📄 search1_jsp.java
字号:
package org.apache.jsp.customer;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class search1_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.Vector _jspx_dependants;
public java.util.List getDependants() {
return _jspx_dependants;
}
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=GBK");
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<html>\t\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=GBK\" />\r\n<title></title>\r\n<script language=\"javascript\">\r\nfunction search_sub()\r\n{\r\nif(document.search_form.keyword.value==\"\")\r\n{\r\n window.alert(\"请输入关键字!\");\r\n document.search_form.keyword.focus();\r\n return;\r\n }\r\ndocument.search_form.submit();\r\n \r\n }\r\n</script>\r\n<form name=\"search_form\" method=\"post\" action=\"/wyweb/SearchCustomerServlet\">\r\n <table width=\"764\" height=\"20\" align=\"center\">\r\n <tr bgcolor=\"#0099CC\"> \r\n <td width=\"94\" height=\"10\"> \r\n <div align=\"center\">客户查询:</div></td>\r\n <td width=\"316\" height=\"10\">\r\n<div align=\"center\">请输入关键字: \r\n <input type=\"text\" name=\"keyword\" value=\"请输入关键字\" \r\n onmouseover=\"this.focus()\" onFocus=\"this.select()\">\r\n </div></td>\r\n <td width=\"263\" height=\"10\">\r\n<div align=\"center\">请选择查询范围: \r\n <select name=\"way\" size=\"1\">\r\n <option value=\"1\">客户名称</option>\r\n <option value=\"2\">客户姓名</option>\r\n");
out.write(" <option value=\"3\">客户电话号码</option>\r\n <option value=\"4\">客户身份证号码</option>\r\n <option value=\"5\">客户E-mail</option>\r\n </select>\r\n </div></td>\r\n <td width=\"117\" height=\"10\"> \r\n <div align=\"center\"> \r\n <input type=\"submit\" name=\"Submit\" value=\"查询\" onClick=\"search_sub()\">\r\n </div></td>\r\n </tr>\r\n </table>\r\n</form>\r\n\r\n");
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -