📄 borrowbooklendgotwo_jsp.java
字号:
package org.apache.jsp.borrowBook;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.sql.*;
import com.actionForm.BorrowBookForm;
import com.actionForm.ReaderForm;
import java.sql.Date;
public final class borrowBookLendGoTwo_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.Vector _jspx_dependants;
static {
_jspx_dependants = new java.util.Vector(1);
_jspx_dependants.add("/WEB-INF/struts-html.tld");
}
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_html;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_form_action;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_hidden_value_property_nobody;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_submit;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_button_property_onclick;
public java.util.List getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_jspx_tagPool_html_html = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_jspx_tagPool_html_form_action = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_jspx_tagPool_html_hidden_value_property_nobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_jspx_tagPool_html_submit = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_jspx_tagPool_html_button_property_onclick = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_jspx_tagPool_html_html.release();
_jspx_tagPool_html_form_action.release();
_jspx_tagPool_html_hidden_value_property_nobody.release();
_jspx_tagPool_html_submit.release();
_jspx_tagPool_html_button_property_onclick.release();
}
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");
out.write("\r\n");
com.dao.ReaderDao readerDao = null;
synchronized (request) {
readerDao = (com.dao.ReaderDao) _jspx_page_context.getAttribute("readerDao", PageContext.REQUEST_SCOPE);
if (readerDao == null){
readerDao = new com.dao.ReaderDao();
_jspx_page_context.setAttribute("readerDao", readerDao, PageContext.REQUEST_SCOPE);
out.write('\r');
out.write('\n');
}
}
out.write('\r');
out.write('\n');
// html:html
org.apache.struts.taglib.html.HtmlTag _jspx_th_html_html_0 = (org.apache.struts.taglib.html.HtmlTag) _jspx_tagPool_html_html.get(org.apache.struts.taglib.html.HtmlTag.class);
_jspx_th_html_html_0.setPageContext(_jspx_page_context);
_jspx_th_html_html_0.setParent(null);
int _jspx_eval_html_html_0 = _jspx_th_html_html_0.doStartTag();
if (_jspx_eval_html_html_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\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(" </head>\r\n");
out.write(" ");
com.tool.ShowTime showTime=new com.tool.ShowTime();
BorrowBookForm form=(BorrowBookForm)request.getAttribute("form");
String account=(String)session.getAttribute("account");
//==================================================
Date lendTime=Date.valueOf(showTime.showLaterTime(60));
ReaderForm reader=new ReaderForm();
reader.setBookCardMark(form.getReaderCard());
ReaderForm readerForm=readerDao.selectReaderbook(reader);
Date overTime=Date.valueOf(readerForm.getOverTime());
if(lendTime.after(overTime)){
lendTime=overTime;
}
out.write("\r\n");
out.write(" <body>\r\n");
out.write(" <div align=\"center\">\r\n");
out.write(" ");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "../topOne.jsp", out, true);
out.write("\r\n");
out.write(" ");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "../topTwo.jsp", out, true);
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\"> \r\n");
out.write(" 您当前的位置――借阅管理――图书续借</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\" class=\"STYLE4\">\r\n");
out.write(" <td>确认续借图书</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\" align=\"center\">\r\n");
out.write("\t\t <br><br>\r\n");
// html:form
org.apache.struts.taglib.html.FormTag _jspx_th_html_form_0 = (org.apache.struts.taglib.html.FormTag) _jspx_tagPool_html_form_action.get(org.apache.struts.taglib.html.FormTag.class);
_jspx_th_html_form_0.setPageContext(_jspx_page_context);
_jspx_th_html_form_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_html_html_0);
_jspx_th_html_form_0.setAction("borrowBookAction.do?method=borrowBookLendGoThree");
int _jspx_eval_html_form_0 = _jspx_th_html_form_0.doStartTag();
if (_jspx_eval_html_form_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\r\n");
out.write(" <table border=\"1\" cellpadding=\"0\" cellspacing=\"0\" bordercolor=\"#FFFFFF\" bordercolordark=\"#819BBC\" bordercolorlight=\"#FFFFFF\">\r\n");
out.write(" <tr align=\"center\">\r\n");
out.write(" <td width=\"100\" height=\"30\" bgcolor=\"#83B9FF\" class=\"word_white\">书的条形码</td>\r\n");
out.write(" <td width=\"150\">");
out.print(form.getBooklink());
out.write("</td>\r\n");
out.write(" <td width=\"100\" bgcolor=\"#83B9FF\" class=\"word_white\">书的名称</td>\r\n");
out.write(" <td width=\"150\">");
out.print(form.getBookName());
out.write("</td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr align=\"center\">\r\n");
out.write(" <td width=\"100\" height=\"30\" bgcolor=\"#83B9FF\" class=\"word_white\">书的作者</td>\r\n");
out.write(" <td width=\"150\">");
out.print(form.getBookAuthor());
out.write("</td>\r\n");
out.write(" <td width=\"100\" bgcolor=\"#83B9FF\" class=\"word_white\">出版社</td>\r\n");
out.write(" <td width=\"150\">");
out.print(form.getBookPunbilc());
out.write("</td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr align=\"center\">\r\n");
out.write(" <td width=\"100\" height=\"30\" bgcolor=\"#83B9FF\" class=\"word_white\">书的定价</td>\r\n");
out.write(" <td width=\"150\">");
out.print(form.getBookPrice());
out.write("元</td>\r\n");
out.write(" <td width=\"100\" bgcolor=\"#83B9FF\" class=\"word_white\">押金</td>\r\n");
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -