yuqitushuchaxun_jsp.java

来自「图书管理系统。JSP+Struts(MVC框架)sql2000数据库」· Java 代码 · 共 157 行

JAVA
157
字号
package org.apache.jsp.book;

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");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");

List list=(List)request.getAttribute("list");

      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>翼飞图书管理系统――图书管理</title>\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("</head>\r\n");
      out.write("\r\n");
      out.write("<body>\r\n");
      out.write("<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");
      out.write("\r\n");
      out.write("<table width=\"799\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"Images/upPlace.jpg\">\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td height=\"21\" class=\"word_black\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;您当前的位置――图书管理――库存预警</td>\r\n");
      out.write("  </tr>\r\n");
      out.write("</table>\r\n");
      out.write("<table width=\"799\" height=\"28\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"Images/operationOne.jpg\">\r\n");
      out.write("  <tr align=\"center\">\r\n");
      out.write("    <td><span class=\"style2\">―――――――查询逾期的图书―――――――</span></td>\r\n");
      out.write("  </tr>\r\n");
      out.write("</table>\r\n");
      out.write("<table width=\"799\" height=\"457\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"tableBorder_B_dashed\">\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td valign=\"top\" ><div align=\"center\">\r\n");
      out.write("      <br>\r\n");
      out.write("\t  <table width=\"750\" border=\"1\" cellpadding=\"0\" cellspacing=\"0\"  bordercolor=\"#FFFFFF\" bordercolordark=\"#819BBC\" bordercolorlight=\"#FFFFFF\">\r\n");
      out.write("\r\n");
      out.write("\t    <tr align=\"center\" bgcolor=\"#83B9FF\"  class=\"word_white\">\r\n");
      out.write("          <td width=\"61\">条形码</td>\r\n");
      out.write("          <td width=\"60\">读者编号</td>\r\n");
      out.write("          <td width=\"166\" height=\"25\" bgcolor=\"#83B9FF\">书名</td>\r\n");
      out.write("          <td width=\"57\">定价</td>\r\n");
      out.write("           <td width=\"100\">借出日期</td>\r\n");
      out.write("          <td width=\"100\">应还日期</td>\r\n");
      out.write("          <td width=\"55\">操作员</td>\r\n");
      out.write("        </tr>\r\n");
      out.write("\t\t");
for(int i=0;i<list.size();i++){
                  BorrowBookForm form=(BorrowBookForm)list.get(i);
  // if(form.getBookSum()<10){

                  
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write(" <form  name=\"form\" method=\"post\" action=\"borrowBookAction.do?method=selectBorrowBookOneAction\">\r\n");
      out.write("        <tr align=\"center\" >\r\n");
      out.write("          <td height=\"25\">");
      out.print(form.getBooklink());
      out.write("<input  type=\"hidden\" name=\"bookLink\" value=\"");
      out.print(form.getBooklink());
      out.write("\"/></td>\r\n");
      out.write("          <td>");
      out.print(form.getReaderCard());
      out.write("</td>\r\n");
      out.write("            <td>《");
      out.print(form.getBookName());
      out.write("》</td>\r\n");
      out.write("          <td>");
      out.print(form.getBookPrice());
      out.write("元</td>\r\n");
      out.write("          <td>");
      out.print(form.getStartTime());
      out.write("</td>\r\n");
      out.write("          <td>");
      out.print(form.getOverTime());
      out.write("</td>\r\n");
      out.write("             <td>");
      out.print(form.getOperation());
      out.write("本</td>\r\n");
      out.write("        </tr>\r\n");
      out.write("      </form>\r\n");
      out.write("\t\t");
}
      out.write("\r\n");
      out.write("      </table>\r\n");
      out.write("\r\n");
      out.write("    </div></td>\r\n");
      out.write("  </tr>\r\n");
      out.write("</table>");
      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "../bottom.jsp", out, true);
      out.write("\r\n");
      out.write("</div>\r\n");
      out.write("</body>\r\n");
      out.write("</html>\r\n");
      out.write("\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 + -
显示快捷键?