ordersearch_0005fdetail_0002ejsp_jsp.java
来自「网上购物系统 用JSP做的 好几十页 用jbuilder运行」· Java 代码 · 共 308 行 · 第 1/2 页
JAVA
308 行
// HTML // begin [file="/ordersearch_detail.jsp";from=(31,2);to=(45,1)]
out.write("\r\n<html>\r\n<head>\r\n<title>订单查询</title>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n<link href=\"CSS/style.css\" rel=\"stylesheet\">\r\n</head>\r\n<body>\r\n<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" background=\"Images/bg.gif\">\r\n <tr>\r\n <td>\r\n<table width=\"777\" height=\"768\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#FFFFFF\">\r\n <tr>\r\n <td valign=\"top\">\r\n\t");
// end
// begin [file="/ordersearch_detail.jsp";from=(45,1);to=(45,30)]
{
String _jspx_qStr = "";
JspRuntimeLibrary.include(request, response, "Top.jsp" + _jspx_qStr, out, false);
if ("true".equals(request.getAttribute("javax.servlet.forward.seen")))
return;
}
// end
// HTML // begin [file="/ordersearch_detail.jsp";from=(45,30);to=(49,3)]
out.write("\r\n\t<table width=\"100%\" height=\"330\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n <tr>\r\n <td width=\"26%\" valign=\"top\">\r\n\t\t ");
// end
// begin [file="/ordersearch_detail.jsp";from=(49,3);to=(49,33)]
{
String _jspx_qStr = "";
JspRuntimeLibrary.include(request, response, "left.jsp" + _jspx_qStr, out, false);
if ("true".equals(request.getAttribute("javax.servlet.forward.seen")))
return;
}
// end
// HTML // begin [file="/ordersearch_detail.jsp";from=(49,33);to=(70,54)]
out.write(" \r\n\t\t</td>\r\n <td width=\"5\" valign=\"top\" background=\"Images/Cen_separate.gif\"></td>\r\n <td width=\"73%\" valign=\"top\"><table width=\"100%\" height=\"272\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n <tr>\r\n <td width=\"97%\" height=\"220\" valign=\"top\">\r\n\t\t\t <table width=\"100%\" height=\"109\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n\r\n\t\t\t <tr>\r\n <td height=\"92\" valign=\"top\"><table width=\"100%\" height=\"87\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n <tr>\r\n <td width=\"86%\" height=\"87\" class=\"tableBorder_B\"><img src=\"Images/ico_order.gif\" width=\"176\" height=\"61\"></td>\r\n </tr>\r\n </table> </td>\r\n\t\t\t </tr>\r\n\t\t\t <tr>\r\n\t\t\t <td valign=\"top\"> </td>\r\n\t\t\t </tr>\r\n </table>\r\n\t\t\t\t\t <table width=\"100%\" height=\"131\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"tableBorder_B1\">\r\n <tr>\r\n <td width=\"16%\">订 单 号: ");
// end
// begin [file="/ordersearch_detail.jsp";from=(70,57);to=(70,64)]
out.print(orderID);
// end
// HTML // begin [file="/ordersearch_detail.jsp";from=(70,66);to=(73,63)]
out.write("</td>\r\n </tr>\r\n <tr>\r\n <td>地 址: ");
// end
// begin [file="/ordersearch_detail.jsp";from=(73,66);to=(73,73)]
out.print(address);
// end
// HTML // begin [file="/ordersearch_detail.jsp";from=(73,75);to=(76,41)]
out.write("</td>\r\n </tr>\r\n <tr>\r\n <td>邮政编码: ");
// end
// begin [file="/ordersearch_detail.jsp";from=(76,44);to=(76,52)]
out.print(postcode);
// end
// HTML // begin [file="/ordersearch_detail.jsp";from=(76,54);to=(79,63)]
out.write("</td>\r\n </tr>\r\n <tr>\r\n <td>电 话: ");
// end
// begin [file="/ordersearch_detail.jsp";from=(79,66);to=(79,69)]
out.print(tel);
// end
// HTML // begin [file="/ordersearch_detail.jsp";from=(79,71);to=(82,60)]
out.write("</td>\r\n </tr>\r\n <tr>\r\n <td>Email : ");
// end
// begin [file="/ordersearch_detail.jsp";from=(82,63);to=(82,68)]
out.print(email);
// end
// HTML // begin [file="/ordersearch_detail.jsp";from=(82,70);to=(85,63)]
out.write("</td>\r\n </tr>\r\n <tr>\r\n <td>备 注: ");
// end
// begin [file="/ordersearch_detail.jsp";from=(85,66);to=(85,68)]
out.print(bz);
// end
// HTML // begin [file="/ordersearch_detail.jsp";from=(85,70);to=(96,6)]
out.write("</td>\r\n </tr>\r\n </table>\r\n\t\t\t\t\t <table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"tableBorder_B1\">\r\n <tr align=\"center\" bgcolor=\"#eeeeee\">\r\n <td width=\"16%\" height=\"27\">图书ISBN号</td>\r\n <td width=\"48%\">图书名称</td>\r\n <td width=\"20%\">出版社</td>\r\n <td width=\"9%\">单价</td>\r\n <td width=\"7%\">数量</td>\r\n </tr>\r\n\t\t\t\t\t\t");
// end
// begin [file="/ordersearch_detail.jsp";from=(96,8);to=(103,6)]
ResultSet rs=connDB.executeQuery("select * from V_order_detail where orderID="+ID);
while(rs.next()){
ISBN=rs.getString("ISBN");
bookname=rs.getString("BookName");
publisher=rs.getString("publisher");
price=rs.getFloat("price");
number=rs.getInt("number");
// end
// HTML // begin [file="/ordersearch_detail.jsp";from=(103,8);to=(105,42)]
out.write(" \r\n <tr align=\"center\">\r\n <td height=\"27\">");
// end
// begin [file="/ordersearch_detail.jsp";from=(105,45);to=(105,49)]
out.print(ISBN);
// end
// HTML // begin [file="/ordersearch_detail.jsp";from=(105,51);to=(106,42)]
out.write("</td>\r\n <td height=\"27\">");
// end
// begin [file="/ordersearch_detail.jsp";from=(106,45);to=(106,53)]
out.print(bookname);
// end
// HTML // begin [file="/ordersearch_detail.jsp";from=(106,55);to=(107,42)]
out.write("</td>\r\n <td height=\"27\">");
// end
// begin [file="/ordersearch_detail.jsp";from=(107,45);to=(107,54)]
out.print(publisher);
// end
// HTML // begin [file="/ordersearch_detail.jsp";from=(107,56);to=(108,30)]
out.write("</td>\r\n <td>");
// end
// begin [file="/ordersearch_detail.jsp";from=(108,33);to=(108,38)]
out.print(price);
// end
// HTML // begin [file="/ordersearch_detail.jsp";from=(108,40);to=(109,30)]
out.write("(元)</td>\r\n <td>");
// end
// begin [file="/ordersearch_detail.jsp";from=(109,33);to=(109,39)]
out.print(number);
// end
// HTML // begin [file="/ordersearch_detail.jsp";from=(109,41);to=(111,7)]
out.write("</td>\r\n </tr>\r\n\t\t\t\t\t\t ");
// end
// begin [file="/ordersearch_detail.jsp";from=(111,9);to=(111,10)]
}
// end
// HTML // begin [file="/ordersearch_detail.jsp";from=(111,12);to=(123,6)]
out.write("\r\n </table></td>\r\n <td width=\"3%\" valign=\"top\"> </td>\r\n </tr>\r\n </table>\r\n <table width=\"100%\" height=\"40\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n <tr>\r\n <td align=\"center\"><input name=\"Button\" type=\"button\" class=\"btn_grey\" value=\"返回\" onClick=\"history.back();\"></td>\r\n </tr>\r\n </table></td>\r\n </tr>\r\n </table>\r\n ");
// end
// begin [file="/ordersearch_detail.jsp";from=(123,6);to=(123,41)]
{
String _jspx_qStr = "";
JspRuntimeLibrary.include(request, response, "copyright.jsp" + _jspx_qStr, out, false);
if ("true".equals(request.getAttribute("javax.servlet.forward.seen")))
return;
}
// end
// HTML // begin [file="/ordersearch_detail.jsp";from=(123,41);to=(133,0)]
out.write("\r\n </td>\r\n </tr>\r\n</table>\r\n</td>\r\n </tr>\r\n</table>\r\n\r\n</body>\r\n</html>\r\n");
// end
// begin [file="/ordersearch_detail.jsp";from=(133,2);to=(135,1)]
}else{
response.sendRedirect("ordersearch.jsp");
}
// 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 + =
减小字号Ctrl + -
显示快捷键?