📄 search_0005fmaker_0002ejsp_jsp.java
字号:
import java.util.*;
import zhaobiao.db.*;
import zhaobiao.data.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
public class search_0005fmaker_0002ejsp_jsp extends HttpJspBase {
// begin [file="/search_maker.jsp";from=(3,3);to=(16,0)]
String getStr(String str)
{
try
{
String temp=new String(str.getBytes("ISO8859_1"));
return temp;
}
catch(Exception e)
{
return null;
}
}
// end
static {
}
public search_0005fmaker_0002ejsp_jsp( ) {
}
private static boolean _jspx_inited = false;
public final void _jspx_init() throws org.apache.jasper.runtime.JspException {
}
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;
String _value = null;
try {
if (_jspx_inited == false) {
synchronized (this) {
if (_jspx_inited == false) {
_jspx_init();
_jspx_inited = true;
}
}
}
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html; charset=GBK");
pageContext = _jspxFactory.getPageContext(this, request, response,
"", true, 8192, true);
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
// HTML // begin [file="/search_maker.jsp";from=(0,48);to=(1,0)]
out.write("\r\n");
// end
// HTML // begin [file="/search_maker.jsp";from=(1,31);to=(2,0)]
out.write("\r\n");
// end
// HTML // begin [file="/search_maker.jsp";from=(2,49);to=(3,0)]
out.write("\r\n");
// end
// HTML // begin [file="/search_maker.jsp";from=(16,2);to=(17,0)]
out.write("\r\n");
// end
// begin [file="/search_maker.jsp";from=(17,2);to=(25,2)]
Search search=new Search();
Vector list=new Vector();
String keys=null;
if(request.getParameter("keys")!=null)
keys=getStr(request.getParameter("keys").trim());
list=search.searchMaker(keys);
search.freeCon();
// end
// HTML // begin [file="/search_maker.jsp";from=(25,4);to=(89,1)]
out.write("\r\n<html>\r\n<head>\r\n<title>xxx</title>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n<link rel=\"stylesheet\" href=\"style.css\" type=\"text/css\">\r\n<script language=\"JavaScript\">\r\n<!--\r\n function checknull()\r\n {\r\n\r\n var a=document.form1.keys.value;\r\n if(a==\"\")\r\n {\r\n alert(\"关键字不能为空!\");\r\n return false;\r\n }\r\n else\r\n return true;\r\n\r\n}\r\nfunction MM_popupMsg(msg) { //v1.0\r\n alert(msg);\r\n}\r\n\r\nfunction MM_openBrWindow(theURL,winName,features) { //v2.0\r\n window.open(theURL,winName,features);\r\n}\r\n//-->\r\n</script>\r\n</head>\r\n<body bgcolor=\"#FFFFFF\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">\r\n<center>\r\n<table width=\"776\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" height=\"103\">\r\n\r\n <tr>\r\n <td height=\"65\"> <a href=\"index.jsp\"><img src=\"images/zhaobiao_01.jpg\" width=\"777\" height=\"89\" align=\"absbottom\" border=\"0\"></a></td>\r\n </tr>\r\n </table>\r\n <a href=\"product1.jsp\">产品信息</a> <a href=\"project1.jsp\">项目信息</a> <a href=\"maker1.jsp\">厂商信息</a>\r\n<table width=\"774\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" height=\"88\">\r\n <tr>\r\n <td align=\"center\" height=\"67\">\r\n <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\" align=\"center\">\r\n <tr bgcolor=\"0092B8\">\r\n <td>\r\n <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\" bgcolor=\"#FFFFFF\">\r\n <tr align=\"center\">\r\n <td>\r\n <table width=\"764\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\">\r\n <tr align=\"center\" bgcolor=\"E1D1B7\">\r\n <td height=\"25\" align=\"center\" colspan=\"7\" width=\"758\"><b>厂商信息</b></td>\r\n </tr>\r\n <tr bgcolor=\"F6F2E6\">\r\n\r\n <td height=\"25\" align=\"center\" width=\"126\"><font color=\"#FF0000\">\r\n 投标厂商名称</font></td>\r\n <td align=\"center\" width=\"141\"><font color=\"#FF0000\">总部地址</font></td>\r\n <td align=\"center\" width=\"87\"><font color=\"#FF0000\">注册时间</font></td>\r\n <td align=\"center\" width=\"142\"><font color=\"#FF0000\">注册地址</font></td>\r\n <td align=\"center\" width=\"76\"><font color=\"#FF0000\">注册资金</font></td>\r\n <td align=\"center\" width=\"74\"><font color=\"#FF0000\">法人姓名</font></td>\r\n <td align=\"center\" width=\"88\"><font color=\"#FF0000\">详细信息</font></td>\r\n </tr>\r\n ");
// end
// begin [file="/search_maker.jsp";from=(89,3);to=(96,0)]
if(list!=null)
{
for(int i=0;i<list.size();i++)
{
Maker mk=new Maker();
mk=(Maker)list.elementAt(i);
// end
// HTML // begin [file="/search_maker.jsp";from=(96,2);to=(99,54)]
out.write("\r\n <tr bgcolor=\"F6F2E6\" align=\"center\">\r\n <td height=\"25\" width=\"126\">\r\n <p><a href=\"maker2.jsp?mkid=");
// end
// begin [file="/search_maker.jsp";from=(99,57);to=(99,73)]
out.print(mk.getMaker_id());
// end
// HTML // begin [file="/search_maker.jsp";from=(99,75);to=(99,77)]
out.write("\">");
// end
// begin [file="/search_maker.jsp";from=(99,80);to=(99,98)]
out.print(mk.getMaker_name());
// end
// HTML // begin [file="/search_maker.jsp";from=(99,100);to=(101,41)]
out.write("</a></p>\r\n </td>\r\n <td width=\"141\">");
// end
// begin [file="/search_maker.jsp";from=(101,43);to=(101,109)]
if(mk.getMaker_address()!=null)out.println(mk.getMaker_address());
// end
// HTML // begin [file="/search_maker.jsp";from=(101,111);to=(102,39)]
out.write("</td>\r\n <td width=\"87\">");
// end
// begin [file="/search_maker.jsp";from=(102,41);to=(102,107)]
if(mk.getMaker_cr_time()!=null)out.println(mk.getMaker_cr_time());
// end
// HTML // begin [file="/search_maker.jsp";from=(102,109);to=(103,40)]
out.write("</td>\r\n <td width=\"142\">");
// end
// begin [file="/search_maker.jsp";from=(103,42);to=(103,114)]
if(mk.getMaker_cr_address()!=null)out.println(mk.getMaker_cr_address());
// end
// HTML // begin [file="/search_maker.jsp";from=(103,116);to=(104,39)]
out.write("</td>\r\n <td width=\"76\">");
// end
// begin [file="/search_maker.jsp";from=(104,41);to=(104,107)]
if(mk.getMaker_cr_cost()!=null)out.println(mk.getMaker_cr_cost());
// end
// HTML // begin [file="/search_maker.jsp";from=(104,109);to=(105,39)]
out.write("</td>\r\n <td width=\"74\">");
// end
// begin [file="/search_maker.jsp";from=(105,41);to=(105,107)]
if(mk.getMaker_fr_name()!=null)out.println(mk.getMaker_fr_name());
// end
// HTML // begin [file="/search_maker.jsp";from=(105,109);to=(106,67)]
out.write("</td>\r\n <td width=\"88\"><a href=\"makerinfo.jsp?mkid=");
// end
// begin [file="/search_maker.jsp";from=(106,70);to=(106,86)]
out.print(mk.getMaker_id());
// end
// HTML // begin [file="/search_maker.jsp";from=(106,88);to=(108,12)]
out.write("\" target=\"_blank\">详细信息</a></td>\r\n </tr>\r\n ");
// end
// begin [file="/search_maker.jsp";from=(108,14);to=(108,16)]
}}
// end
// HTML // begin [file="/search_maker.jsp";from=(108,18);to=(122,40)]
out.write("\r\n\r\n </table>\r\n </td>\r\n </tr>\r\n </table>\r\n </td>\r\n </tr>\r\n </table>\r\n </td>\r\n </tr>\r\n</table>\r\n <form name=\"form1\" method=\"POST\" action=\"search1.jsp\" onsubmit=\"return checknull()\">\r\n 关键字:\r\n <input type=\"text\" name=\"keys\" value=\"");
// end
// begin [file="/search_maker.jsp";from=(122,43);to=(122,47)]
out.print(keys);
// end
// HTML // begin [file="/search_maker.jsp";from=(122,49);to=(136,0)]
out.write("\">\r\n <select name=\"searchid\">\r\n <option selected value=0>所有</option>\r\n <option value=1>项目</option>\r\n <option value=2>厂商</option>\r\n <option value=3>产品</option>\r\n </select>\r\n <input type=\"submit\" name=\"submit\" value=\"搜索\">\r\n</form>\r\n\r\n <p> </p>\r\n</center>\r\n</body>\r\n</html>\r\n");
// end
} catch (Throwable t) {
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (pageContext != null) pageContext.handlePageException(t);
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -