📄 selectbasekhxx_jsp.java
字号:
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
import java.sql.*;
import java.util.List;
import com.domain.KhxxForm;
public class selectBaseKhxx_jsp extends HttpJspBase {
private static java.util.Vector _jspx_includes;
public java.util.List getIncludes() {
return _jspx_includes;
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
JspFactory _jspxFactory = null;
javax.servlet.jsp.PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html; charset=gb2312");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("<html>\r\n");
out.write("<head>\r\n");
out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n");
out.write("<title>查看客户的基本信息");
out.write("</title>\r\n");
out.write("<style type=\"text/css\">\r\n");
out.write("<!--\r\nbody {\r\n\tbackground-color: #000000;\r\n\tmargin-left: 0px;\r\n\tmargin-top: 0px;\r\n}\r\ntd{\r\nfont-size:9pt;\r\n}\r\n.style1 {font-size: 11pt}\r\n-->\r\n");
out.write("</style>\r\n");
out.write("</head>\r\n");
out.write("<script Language=\"JavaScript\">\r\nfunction projectDelete(date){\r\nif(confirm(\"是否删除编号为[\"+date+\"]这一组数据吗?\"))\r\nwindow.location=\"khxxDelete.do?id=\"+date;\r\n\r\n}\r\n");
out.write("</script>\r\n");
out.write("<body> \r\n");
out.write("<table width=\"579\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#FFFFFF\"> \r\n ");
out.write("<tr> \r\n ");
out.write("<td> ");
out.write("</td> \r\n ");
out.write("</tr> \r\n");
out.write("</table> \r\n");
out.write("<table width=\"579\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"> \r\n ");
out.write("<tr> \r\n ");
out.write("<td align=\"left\" valign=\"top\" bgcolor=\"#FFFFFF\"> ");
out.write("<table width=\"579\" height=\"487\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"> \r\n ");
out.write("<tr> \r\n ");
out.write("<td align=\"left\" valign=\"top\" bgcolor=\"#FFFFFF\">");
out.write("<table width=\"579\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"> \r\n ");
out.write("<tr> \r\n ");
out.write("<td width=\"2%\" height=\"28\"> ");
out.write("</td> \r\n ");
out.write("<td width=\"9%\" background=\"images/circle.jpg\"> ");
out.write("</td> \r\n ");
out.write("<td width=\"89%\" bgcolor=\"#FFFFFF\">");
out.write("<span class=\"style2 style1\">客户信息查询");
out.write("</span>");
out.write("</td> \r\n ");
out.write("</tr> \r\n ");
out.write("<tr style=\"line-height:2px\"> \r\n ");
out.write("<td width=\"2%\" height=\"5\"> ");
out.write("</td> \r\n ");
out.write("<td height=\"5\" colspan=\"2\" bgcolor=\"#D4D0C8\"> ");
out.write("</td> \r\n ");
out.write("</tr> \r\n ");
out.write("<tr align=\"center\" valign=\"top\" bgcolor=\"#FFFFFF\"> \r\n ");
out.write("<td height=\"454\" colspan=\"3\">");
out.write("<br> \r\n ");
List list=(List)request.getAttribute("khxxlist");
out.write(" \r\n ");
out.write("<table width=\"496\" height=\"64\" border=\"0\" cellpadding=\"2\" cellspacing=\"1\" bgcolor=\"#666666\"> \r\n ");
out.write("<tr bgcolor=\"#FFCC33\"> \r\n ");
out.write("<td width=\"83\" height=\"24\">");
out.write("<div align=\"center\">客户编号");
out.write("</div>");
out.write("</td> \r\n ");
out.write("<td width=\"153\">");
out.write("<div align=\"center\">客户名称");
out.write("</div>");
out.write("</td> \r\n ");
out.write("<td width=\"111\">");
out.write("<div align=\"center\">企业性质");
out.write("</div>");
out.write("</td> \r\n ");
out.write("<td width=\"128\">");
out.write("<div align=\"center\">操作");
out.write("</div>");
out.write("</td> \r\n ");
out.write("</tr> \r\n ");
for(int i=0;i<list.size();i++){
KhxxForm form=(KhxxForm)list.get(i);
out.write(" \r\n ");
out.write("<tr bgcolor=\"#FFFFFF\"> \r\n ");
out.write("<td height=\"24\">");
out.print(form.getKhxx_id());
out.write("</td> \r\n ");
out.write("<td>");
out.print(form.getKhxx_mc());
out.write("</td> \r\n ");
out.write("<td>");
out.print(form.getKhxx_qyxz());
out.write("</td> \r\n ");
out.write("<td align=\"center\">");
out.write("<p>");
out.write("<a href=\"queryClientContent.do?id=");
out.print(form.getKhxx_id());
out.write("\">查看客户全部信息");
out.write("</a>");
out.write("</p>");
out.write("</td> \r\n ");
out.write("</tr> \r\n ");
}
out.write(" \r\n ");
out.write("</table> \r\n ");
out.write("</table>");
out.write("</td> \r\n ");
out.write("</tr> \r\n ");
out.write("</table>");
out.write("</td> \r\n ");
out.write("</tr> \r\n");
out.write("</table> \r\n");
out.write("</body>\r\n");
out.write("</html>\r\n");
} catch (Throwable t) {
out = _jspx_out;
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 + -