package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
public class bl$jsp extends HttpJspBase {
static {
}
public bl$jsp( ) {
}
private static boolean _jspx_inited = false;
public final void _jspx_init() throws org.apache.jasper.runtime.JspException {
}
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;
String _value = null;
try {
if (_jspx_inited == false) {
synchronized (this) {
if (_jspx_inited == false) {
_jspx_init();
_jspx_inited = true;
}
}
}
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html; charset=GBK");
pageContext = _jspxFactory.getPageContext(this, request, response,
"", true, 8192, true);
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
// HTML // begin [file="/bl.jsp";from=(0,48);to=(1,0)]
out.write("\r\n");
// end
// HTML // begin [file="/bl.jsp";from=(1,58);to=(2,0)]
out.write("\r\n");
// end
// HTML // begin [file="/bl.jsp";from=(2,58);to=(3,0)]
out.write("\r\n");
// end
// HTML // begin [file="/bl.jsp";from=(3,60);to=(4,0)]
out.write("\r\n");
// end
// HTML // begin [file="/bl.jsp";from=(4,62);to=(77,0)]
out.write("\r\n\r\n<html>\r\n<head>\r\n <link rel=\"STYLESHEET\" type=\"text/css\" href=\"css/shared.css\">\r\n<title>\r\nbl\r\n</title>\r\n<script language=\"javascript\">\r\nvar selectedTr = null;\r\nfunction setTrColor(colorTr,color)\r\n{\r\n if(colorTr.tagName==\"TR\")\r\n {\r\n for(var i=0;i<colorTr.childNodes.length;i++)\r\n {\r\n colorTr.childNodes(i).style.backgroundColor = color;\r\n colorTr.childNodes(i).children(0).style.backgroundColor = color;\r\n }\r\n }\r\n}\r\nfunction addbl()\r\n{\r\n document.bookBLActionForm.operation.value = \"add\";\r\n document.bookBLActionForm.submit();\r\n}\r\nfunction deletebl()\r\n{\r\n\r\n if(selectedTr!=null)\r\n { alert(selectedTr.childNodes(0).children(1).value);\r\n\tif(selectedTr.childNodes(0).children(1).value!=0&&selectedTr.childNodes(0).children(1).value!=null)\r\n {\r\n\t\tdocument.bookBLActionForm.deleteUID.value = selectedTr.childNodes(0).children(1).value;\r\n\t\tdocument.bookBLActionForm.operation.value=\"delete\";\r\n\t\tblRows.removeChild(selectedTr);\r\n \t\tselectedTr = null;\r\n \t\tdocument.bookBLActionForm.submit();\r\n }else\r\n\t{\r\n\t\tblRows.removeChild(selectedTr);\r\n\t\tselectedTr = null;\r\n\t}\r\n }\r\n}\r\nfunction savebl()\r\n{\r\n\r\n \tdocument.bookBLActionForm.operation.value = \"save\";\r\n\tdocument.bookBLActionForm.submit();\r\n}\r\nfunction onClickedCell()\r\n{\r\n var clickedcell = event.srcElement;\r\n if(selectedTr!=null)\r\n{\r\n setTrColor(selectedTr,\"#FFFFFF\");\r\n}\r\n while(clickedcell.tagName!=\"TR\")\r\n {\r\n clickedcell = clickedcell.parentElement;\r\n }\r\n selectedTr = clickedcell;\r\n setTrColor(selectedTr,\"#FFDDFF\");\r\n}\r\n</script>\r\n</head>\r\n<body bgcolor=\"#ffffff\" >\r\n<h3 align=\"center\">\r\n读者借阅信息\r\n</h3>\r\n<br>\r\n<hr height=1 />\r\n");
// end
// begin [file="/bl.jsp";from=(77,0);to=(77,46)]
/* ---- html:form ---- */
org.apache.struts.taglib.html.FormTag _jspx_th_html_form_0 = new org.apache.struts.taglib.html.FormTag();
_jspx_th_html_form_0.setPageContext(pageContext);
_jspx_th_html_form_0.setParent(null);
_jspx_th_html_form_0.setMethod("post");
_jspx_th_html_form_0.setAction("bLAction.do");
try {
int _jspx_eval_html_form_0 = _jspx_th_html_form_0.doStartTag();
if (_jspx_eval_html_form_0 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
throw new JspTagException("Since tag handler class org.apache.struts.taglib.html.FormTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
if (_jspx_eval_html_form_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
// end
// HTML // begin [file="/bl.jsp";from=(77,46);to=(78,0)]
out.write("\r\n");
// end
// begin [file="/bl.jsp";from=(78,0);to=(78,60)]
/* ---- html:hidden ---- */
org.apache.struts.taglib.html.HiddenTag _jspx_th_html_hidden_0 = new org.apache.struts.taglib.html.HiddenTag();
_jspx_th_html_hidden_0.setPageContext(pageContext);
_jspx_th_html_hidden_0.setParent(_jspx_th_html_form_0);
_jspx_th_html_hidden_0.setName("bookBLActionForm");
_jspx_th_html_hidden_0.setProperty("deleteUID");
try {
int _jspx_eval_html_hidden_0 = _jspx_th_html_hidden_0.doStartTag();
if (_jspx_eval_html_hidden_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
try {
if (_jspx_eval_html_hidden_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
out = pageContext.pushBody();
_jspx_th_html_hidden_0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
_jspx_th_html_hidden_0.doInitBody();
}
do {
// end
// begin [file="/bl.jsp";from=(78,0);to=(78,60)]
} while (_jspx_th_html_hidden_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
} finally {
if (_jspx_eval_html_hidden_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
out = pageContext.popBody();
}
}
if (_jspx_th_html_hidden_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
} finally {
_jspx_th_html_hidden_0.release();
}
// end
// HTML // begin [file="/bl.jsp";from=(78,60);to=(79,0)]
out.write("\r\n");
// end
// begin [file="/bl.jsp";from=(79,0);to=(79,59)]
/* ---- html:hidden ---- */
org.apache.struts.taglib.html.HiddenTag _jspx_th_html_hidden_1 = new org.apache.struts.taglib.html.HiddenTag();
_jspx_th_html_hidden_1.setPageContext(pageContext);
_jspx_th_html_hidden_1.setParent(_jspx_th_html_form_0);
_jspx_th_html_hidden_1.setName("bookBLActionForm");
_jspx_th_html_hidden_1.setProperty("operation");
try {
int _jspx_eval_html_hidden_1 = _jspx_th_html_hidden_1.doStartTag();
if
- 1
- 2
前往页