📄 index_jsp.java
字号:
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import datamanage.dao.DaoBook;
import java.util.*;
import datamanage.po.PoBook;
public final class index_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.Vector _jspx_dependants;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_forEach_var_items;
public java.util.List getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_jspx_tagPool_c_forEach_var_items = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_jspx_tagPool_c_forEach_var_items.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,
null, 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");
datamanage.dao.DaoBook daoB = null;
synchronized (session) {
daoB = (datamanage.dao.DaoBook) _jspx_page_context.getAttribute("daoB", PageContext.SESSION_SCOPE);
if (daoB == null){
daoB = new datamanage.dao.DaoBook();
_jspx_page_context.setAttribute("daoB", daoB, PageContext.SESSION_SCOPE);
}
}
out.write("\r\n");
out.write("\r\n");
out.write("<SCRIPT LANGUAGE=\"JavaScript\" type=\"\">\r\n");
out.write("function changeto(highlightcolor){\r\n");
out.write(" source=event.srcElement\r\n");
out.write(" if (source.tagName==\"TR\"||source.tagName==\"TABLE\")\r\n");
out.write(" return\r\n");
out.write(" while(source.tagName!=\"TR\")\r\n");
out.write(" source=source.parentElement\r\n");
out.write(" if (source.style.backgroundColor!=highlightcolor&&source.id!=\"ignore\")\r\n");
out.write(" source.style.backgroundColor=highlightcolor\r\n");
out.write("}\r\n");
out.write("\r\n");
out.write("function changeback(originalcolor){\r\n");
out.write(" if (event.fromElement.contains(event.toElement)||source.contains(event.toElement)||source.id==\"ignore\")\r\n");
out.write(" return\r\n");
out.write(" if (event.toElement!=source)\r\n");
out.write(" source.style.backgroundColor=originalcolor\r\n");
out.write("}\r\n");
out.write("</SCRIPT>\r\n");
out.write("\r\n");
out.write("<table width=\"389\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
out.write(" ");
if (_jspx_meth_c_forEach_0(_jspx_page_context))
return;
out.write("\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"19\" colspan=\"2\" align=\"center\" valign=\"top\">\r\n");
out.write(" <font color=\"#FF0000\" face=\"华文行楷\" style=\"font-size:.5cm\">\r\n");
out.write(" <a href=\"splitaction?page=1\">首页</a>\r\n");
out.write(" </font>\r\n");
out.write(" <font color=\"#FF0000\" face=\"华文行楷\" style=\"font-size:.5cm\">\r\n");
out.write(" <a href=\"splitaction?page=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${modifypagedata.currentpage-1}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\">上一页</a>\r\n");
out.write(" </font>\r\n");
out.write(" <font color=\"#FF0000\" face=\"华文行楷\" style=\"font-size:.5cm\">\r\n");
out.write(" <a href=\"splitaction?page=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${modifypagedata.currentpage+1}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\">下一页</a>\r\n");
out.write(" </font>\r\n");
out.write(" <font color=\"#FF0000\" face=\"华文行楷\" style=\"font-size:.5cm\">\r\n");
out.write(" <a href=\"splitaction?page=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${modifypagedata.totalpage}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\">末页</a>\r\n");
out.write(" </font> </tr>\r\n");
out.write("\r\n");
out.write("</table>");
} 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);
}
}
private boolean _jspx_meth_c_forEach_0(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// c:forEach
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -