📄 readerright_0002ejsp_jsp.java
字号:
import com.lib.vo.Reader;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
public class readerright_0002ejsp_jsp extends HttpJspBase {
// begin [file="/readerright.jsp";from=(14,3);to=(19,0)]
String name;
String address;
int qty;
Reader reader;
// end
static {
}
public readerright_0002ejsp_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="/readerright.jsp";from=(0,48);to=(1,0)]
out.write("\r\n");
// end
// HTML // begin [file="/readerright.jsp";from=(1,58);to=(2,0)]
out.write("\r\n");
// end
// HTML // begin [file="/readerright.jsp";from=(2,58);to=(3,0)]
out.write("\r\n");
// end
// HTML // begin [file="/readerright.jsp";from=(3,60);to=(4,0)]
out.write("\r\n");
// end
// HTML // begin [file="/readerright.jsp";from=(4,62);to=(5,0)]
out.write("\r\n");
// end
// HTML // begin [file="/readerright.jsp";from=(5,37);to=(14,0)]
out.write("\r\n<html>\r\n<head>\r\n <link rel=\"STYLESHEET\" type=\"text/css\" href=\"css/shared.css\">\r\n<title>\r\nreader\r\n</title>\r\n</head>\r\n<body bgcolor=\"#ffffff\">\r\n");
// end
// HTML // begin [file="/readerright.jsp";from=(19,2);to=(20,0)]
out.write("\r\n");
// end
// begin [file="/readerright.jsp";from=(20,2);to=(32,0)]
session = request.getSession(false);
if(session!=null)
{
reader = (Reader)session.getAttribute("pass");
if(reader!=null)
{
name = reader.getReaderName();
address = reader.getReaderAddress();
qty = reader.getQty().intValue();
}
}
// end
// HTML // begin [file="/readerright.jsp";from=(32,2);to=(41,81)]
out.write("\r\n<h3 align=\"center\">\r\n读者基本信息\r\n</h3>\r\n<br>\r\n<hr height=1 />\r\n<table width=100%>\r\n<tbody >\r\n<tr>\r\n<td class=\"tdbg1\" width=15%>读者姓名:</td><td class=\"tdbg2\" width=15% align=\"center\">");
// end
// begin [file="/readerright.jsp";from=(41,84);to=(41,88)]
out.print(name);
// end
// HTML // begin [file="/readerright.jsp";from=(41,90);to=(42,81)]
out.write("</td>\r\n<td class=\"tdbg1\" width=15%>读者地址:</td><td class=\"tdbg2\" width=15% align=\"center\">");
// end
// begin [file="/readerright.jsp";from=(42,84);to=(42,91)]
out.print(address);
// end
// HTML // begin [file="/readerright.jsp";from=(42,93);to=(43,81)]
out.write("</td>\r\n<td class=\"tdbg1\" width=15%>已借图书:</td><td class=\"tdbg2\" width=15% align=\"center\">");
// end
// begin [file="/readerright.jsp";from=(43,84);to=(43,87)]
out.print(qty);
// end
// HTML // begin [file="/readerright.jsp";from=(43,89);to=(50,0)]
out.write("</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<hr height=1 />\r\n</body>\r\n</html>\r\n");
// end
} catch (Throwable t) {
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (pageContext != null) pageContext.handlePageException(t);
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -