📄 index_0002ejsp_jsp.java
字号:
out.write("</td>\r\n </tr>\r\n <td>定价:");
// end
// begin [file="/index.jsp";from=(66,36);to=(66,57)]
out.print(String.valueOf(price));
// end
// HTML // begin [file="/index.jsp";from=(66,59);to=(68,45)]
out.write("(元)</td>\r\n </tr>\r\n <td align=\"center\">");
// end
// begin [file="/index.jsp";from=(68,47);to=(68,90)]
if(session.getAttribute("UserName")!=null){
// end
// HTML // begin [file="/index.jsp";from=(68,92);to=(69,121)]
out.write("\r\n\t\t\t\t\t\t <input name=\"Submit5\" type=\"submit\" class=\"btn_grey\" value=\"购买\" onClick=\"window.location.href='cart_Add.jsp?ISBN=");
// end
// begin [file="/index.jsp";from=(69,124);to=(69,128)]
out.print(ISBN);
// end
// HTML // begin [file="/index.jsp";from=(69,130);to=(70,8)]
out.write("'\">\r\n\t\t\t\t\t\t ");
// end
// begin [file="/index.jsp";from=(70,10);to=(70,11)]
}
// end
// HTML // begin [file="/index.jsp";from=(70,13);to=(71,144)]
out.write("\r\n <input name=\"Submit6\" type=\"submit\" class=\"btn_grey\" value=\"查看\" onClick=\"window.location.href='book_detail.jsp?ISBN=");
// end
// begin [file="/index.jsp";from=(71,147);to=(71,151)]
out.print(ISBN);
// end
// HTML // begin [file="/index.jsp";from=(71,153);to=(76,6)]
out.write("'\"></td>\r\n </tr>\r\n </table></td>\r\n </tr>\r\n </table></td>\r\n\t\t\t\t ");
// end
// begin [file="/index.jsp";from=(76,8);to=(76,15)]
}else{
// end
// HTML // begin [file="/index.jsp";from=(76,17);to=(79,76)]
out.write("\r\n <td><table width=\"100%\" height=\"123\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n <tr>\r\n <td width=\"43%\" align=\"center\"><img src=\"manage/cover/");
// end
// begin [file="/index.jsp";from=(79,79);to=(79,84)]
out.print(cover);
// end
// HTML // begin [file="/index.jsp";from=(79,86);to=(82,30)]
out.write("\" width=\"76\" height=\"110\"></td>\r\n <td width=\"57%\" align=\"center\"> <table width=\"100%\" height=\"119\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n <tr>\r\n <td>");
// end
// begin [file="/index.jsp";from=(82,33);to=(82,41)]
out.print(bookname);
// end
// HTML // begin [file="/index.jsp";from=(82,43);to=(85,30)]
out.write("</td>\r\n </tr>\r\n <tr>\r\n <td>");
// end
// begin [file="/index.jsp";from=(85,33);to=(85,42)]
out.print(publisher);
// end
// HTML // begin [file="/index.jsp";from=(85,44);to=(88,33)]
out.write("</td>\r\n </tr>\r\n <tr>\r\n <td>作者:");
// end
// begin [file="/index.jsp";from=(88,36);to=(88,42)]
out.print(author);
// end
// HTML // begin [file="/index.jsp";from=(88,44);to=(91,33)]
out.write("</td>\r\n </tr>\r\n <tr>\r\n <td>现价:");
// end
// begin [file="/index.jsp";from=(91,36);to=(91,57)]
out.print(String.valueOf(price));
// end
// HTML // begin [file="/index.jsp";from=(91,59);to=(94,45)]
out.write("(元)</td>\r\n </tr>\r\n <tr>\r\n <td align=\"center\">");
// end
// begin [file="/index.jsp";from=(94,47);to=(94,90)]
if(session.getAttribute("UserName")!=null){
// end
// HTML // begin [file="/index.jsp";from=(94,92);to=(95,121)]
out.write("\r\n\t\t\t\t\t\t <input name=\"Submit5\" type=\"submit\" class=\"btn_grey\" value=\"购买\" onClick=\"window.location.href='cart_Add.jsp?ISBN=");
// end
// begin [file="/index.jsp";from=(95,124);to=(95,128)]
out.print(ISBN);
// end
// HTML // begin [file="/index.jsp";from=(95,130);to=(96,8)]
out.write("'\">\r\n\t\t\t\t\t\t ");
// end
// begin [file="/index.jsp";from=(96,10);to=(96,11)]
}
// end
// HTML // begin [file="/index.jsp";from=(96,13);to=(97,145)]
out.write("\r\n <input name=\"Submit62\" type=\"submit\" class=\"btn_grey\" value=\"查看\" onClick=\"window.location.href='book_detail.jsp?ISBN=");
// end
// begin [file="/index.jsp";from=(97,148);to=(97,152)]
out.print(ISBN);
// end
// HTML // begin [file="/index.jsp";from=(97,154);to=(103,3)]
out.write("'\"></td>\r\n </tr>\r\n </table></td>\r\n </tr>\r\n </table></td>\r\n\r\n\t\t\t");
// end
// begin [file="/index.jsp";from=(103,5);to=(106,4)]
}
rs_book.next();
}
// end
// HTML // begin [file="/index.jsp";from=(106,6);to=(117,5)]
out.write("\t\r\n\t\t\t </tr>\r\n </table>\r\n\t\t\t\t\t </td>\r\n <td width=\"5\" background=\"Images/Cen_separate.gif\"> </td>\r\n <td valign=\"top\"><table width=\"100%\" height=\"55\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n <tr>\r\n <td align=\"right\"><img src=\"Images/index_12.gif\" width=\"161\" height=\"46\"></td>\r\n </tr>\r\n <tr>\r\n <td width=\"86%\" height=\"100\" valign=\"top\" class=\"tableBorder_B\">\r\n\t\t\t ");
// end
// begin [file="/index.jsp";from=(117,7);to=(120,5)]
while(rs_newbook.next()){
String ISBN=rs_newbook.getString("ISBN");
String BookName=rs_newbook.getString("BookName");
// end
// HTML // begin [file="/index.jsp";from=(120,7);to=(124,85)]
out.write("\r\n\t\t\t <table width=\"100%\" height=\"21\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n <tr>\r\n <td width=\"9%\"><img src=\"Images/greendot.gif\" width=\"11\" height=\"13\"></td>\r\n <td width=\"91%\" style=\"padding:5px;\"><a href=\"book_detail.jsp?ISBN=");
// end
// begin [file="/index.jsp";from=(124,88);to=(124,92)]
out.print(ISBN);
// end
// HTML // begin [file="/index.jsp";from=(124,94);to=(124,96)]
out.write("\">");
// end
// begin [file="/index.jsp";from=(124,99);to=(124,107)]
out.print(BookName);
// end
// HTML // begin [file="/index.jsp";from=(124,109);to=(127,5)]
out.write("</a></td>\r\n </tr>\r\n </table>\r\n\t\t\t ");
// end
// begin [file="/index.jsp";from=(127,7);to=(127,8)]
}
// end
// HTML // begin [file="/index.jsp";from=(127,10);to=(137,5)]
out.write("\r\n\t\t\t </td>\r\n </tr>\r\n </table>\r\n <table width=\"100%\" height=\"55\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n <tr>\r\n <td align=\"right\"><img src=\"Images/index_16.gif\" width=\"161\" height=\"48\"></td>\r\n </tr>\r\n <tr>\r\n <td width=\"86%\" height=\"100\" valign=\"top\" class=\"tableBorder_B\">\r\n\t\t\t ");
// end
// begin [file="/index.jsp";from=(137,7);to=(140,5)]
while(rs_sort.next()){
String ISBN=rs_sort.getString("ISBN");
String BookName=rs_sort.getString("BookName");
// end
// HTML // begin [file="/index.jsp";from=(140,7);to=(144,85)]
out.write("\r\n\t\t\t <table width=\"100%\" height=\"21\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n <tr>\r\n <td width=\"9%\"><img src=\"Images/greendot.gif\" width=\"11\" height=\"13\"></td>\r\n <td width=\"91%\" style=\"padding:5px;\"><a href=\"book_detail.jsp?ISBN=");
// end
// begin [file="/index.jsp";from=(144,88);to=(144,92)]
out.print(ISBN);
// end
// HTML // begin [file="/index.jsp";from=(144,94);to=(144,96)]
out.write("\">");
// end
// begin [file="/index.jsp";from=(144,99);to=(144,107)]
out.print(BookName);
// end
// HTML // begin [file="/index.jsp";from=(144,109);to=(147,5)]
out.write("</a></td>\r\n </tr>\r\n </table>\r\n\t\t\t ");
// end
// begin [file="/index.jsp";from=(147,7);to=(147,8)]
}
// end
// HTML // begin [file="/index.jsp";from=(147,10);to=(155,6)]
out.write("\r\n\t\t\t </td>\r\n </tr>\r\n </table></td>\r\n </tr>\r\n </table></td>\r\n </tr>\r\n </table>\r\n ");
// end
// begin [file="/index.jsp";from=(155,6);to=(155,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="/index.jsp";from=(155,41);to=(164,0)]
out.write("\r\n </td>\r\n </tr>\r\n</table>\r\n</td>\r\n </tr>\r\n</table>\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 + -