yuqitushuchaxun_jsp.java
来自「图书管理系统。JSP+Struts(MVC框架)sql2000数据库」· Java 代码 · 共 94 行
JAVA
94 行
package org.apache.jsp.borrowBook;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.sql.*;
import java.util.List;
import com.actionForm.BorrowBookForm;
public final class yuqitushuchaxun_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=gb2312");
pageContext = _jspxFactory.getPageContext(this, request, response,
"", 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\r\n\r\n\r\n");
List list=(List)request.getAttribute("list");
out.write("\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n<title>翼飞图书管理系统――图书管理</title>\r\n\r\n\r\n\r\n</head>\r\n\r\n<body>\r\n<div align=\"center\">\r\n");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "../topOne.jsp", out, true);
out.write('\r');
out.write('\n');
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "../topTwo.jsp", out, true);
out.write("\r\n\r\n<table width=\"799\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"Images/upPlace.jpg\">\r\n <tr>\r\n <td height=\"21\" class=\"word_black\"> 您当前的位置――图书管理――库存预警</td>\r\n </tr>\r\n</table>\r\n<table width=\"799\" height=\"28\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"Images/operationOne.jpg\">\r\n <tr align=\"center\">\r\n <td><span class=\"STYLE4\">查询逾期的图书</span></td>\r\n </tr>\r\n</table>\r\n<table width=\"799\" height=\"457\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"tableBorder_B_dashed\">\r\n <tr>\r\n <td valign=\"top\" ><div align=\"center\">\r\n <br>\r\n\t <table width=\"750\" border=\"1\" cellpadding=\"0\" cellspacing=\"0\" bordercolor=\"#FFFFFF\" bordercolordark=\"#819BBC\" bordercolorlight=\"#FFFFFF\">\r\n\r\n\t <tr align=\"center\" bgcolor=\"#83B9FF\" class=\"word_white\">\r\n <td width=\"61\">条形码</td>\r\n <td width=\"60\">读者编号</td>\r\n <td width=\"166\" height=\"25\" bgcolor=\"#83B9FF\">书名</td>\r\n <td width=\"57\">定价</td>\r\n <td width=\"100\">借出日期</td>\r\n");
out.write(" <td width=\"100\">应还日期</td>\r\n <td width=\"55\">操作员</td>\r\n </tr>\r\n\t\t");
for(int i=0;i<list.size();i++){
BorrowBookForm form=(BorrowBookForm)list.get(i);
// if(form.getBookSum()<10){
out.write("\r\n\r\n\r\n <form name=\"form\" method=\"post\" action=\"borrowBookAction.do?method=selectBorrowBookOneAction\">\r\n <tr align=\"center\" >\r\n <td height=\"25\">");
out.print(form.getBooklink());
out.write("<input type=\"hidden\" name=\"bookLink\" value=\"");
out.print(form.getBooklink());
out.write("\"/></td>\r\n <td>");
out.print(form.getReaderCard());
out.write("</td>\r\n <td>《");
out.print(form.getBookName());
out.write("》</td>\r\n <td>");
out.print(form.getBookPrice());
out.write("元</td>\r\n <td>");
out.print(form.getStartTime());
out.write("</td>\r\n <td>");
out.print(form.getOverTime());
out.write("</td>\r\n <td>");
out.print(form.getOperation());
out.write("本</td>\r\n </tr>\r\n </form>\r\n\t\t");
}
out.write("\r\n </table>\r\n\r\n </div></td>\r\n </tr>\r\n</table>");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "../bottom.jsp", out, true);
out.write("\r\n</div>\r\n</body>\r\n</html>\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 + =
减小字号Ctrl + -
显示快捷键?