📄 __booklist.java
字号:
/* compiled from JSP: /booklist.jsp
*
* This code was automatically generated at 14:22:58 on 2004-3-2
* by weblogic.servlet.jsp.Jsp2Java -- do not edit.
*/
package jsp_servlet;
import java.io.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
// User imports
import java.util.*; //[ /booklist.jsp; Line: 2]import org.pan.web.book.bookclass; //[ /booklist.jsp; Line: 3]import org.pan.web.book.books; //[ /booklist.jsp; Line: 5]
// built-in init parameters:
// boolean _verbose -- wants debugging
// Well-known variables:
// JspWriter out -- to write to the browser
// HttpServletRequest request -- the request object.
// HttpServletResponse response -- the response object.
// PageContext pageContext -- the page context for this JSP
// HttpSession session -- the session object for the client (if any)
// ServletContext application -- The servlet (application) context
// ServletConfig config -- The ServletConfig for this JSP
// Object page -- the instance of this page's implementation class (i.e., 'this')
/**
* This code was automatically generated at 14:22:58 on 2004-3-2
* by weblogic.servlet.jsp.Jsp2Java -- do not edit.
*
* Copyright (c) 2004 by BEA Systems, Inc. All Rights Reserved.
*/
public final class __booklist
extends
weblogic.servlet.jsp.JspBase
implements weblogic.servlet.jsp.StaleIndicator
{
// StaleIndicator interface public boolean _isStale() { weblogic.servlet.jsp.StaleChecker sci =(weblogic.servlet.jsp.StaleChecker)(getServletConfig().getServletContext()); java.io.File f = null; long lastModWhenBuilt = 0L; if (sci.isResourceStale("/booklist.jsp", 1046050560000L, "7.0.1.0")) return true; return false; } public static boolean _staticIsStale(weblogic.servlet.jsp.StaleChecker sci) { java.io.File f = null; long lastModWhenBuilt = 0L; if (sci.isResourceStale("/booklist.jsp", 1046050560000L, "7.0.1.0")) return true; return false; }
public void _jspService(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException
{
// declare and set well-known variables:
javax.servlet.ServletConfig config = getServletConfig();
javax.servlet.ServletContext application = config.getServletContext();
javax.servlet.jsp.tagext.Tag _activeTag = null;
// variables for Tag extension protocol
Object page = this;
javax.servlet.jsp.JspWriter out;
javax.servlet.jsp.PageContext pageContext = javax.servlet.jsp.JspFactory.getDefaultFactory().getPageContext(this, request, response, null, true, 8192, true);
response.setHeader("Content-Type", "text/html; charset=gb2312"); out = pageContext.getOut(); JspWriter _originalOut = out;
javax.servlet.http.HttpSession session = request.getSession(true);
try { // error page try block response.setContentType("text/html; charset=gb2312"); out.print("\r\n"); out.print("\r\n"); out.print("\r\n\r\n"); out.print("\r\n"); org.pan.web.book.books book = null; //[ /booklist.jsp; Line: 6] book = (org.pan.web.book.books)pageContext.getAttribute("book"); //[ /booklist.jsp; Line: 6] if (book == null) { // begin 'book' instantiation block... //[ /booklist.jsp; Line: 6] { // Don't need to synchronize on page scope //[ /booklist.jsp; Line: 6] book = (org.pan.web.book.books)pageContext.getAttribute("book"); //[ /booklist.jsp; Line: 6] if (book == null) { // begin 'book' synchronized instantiation block... //[ /booklist.jsp; Line: 6] book = new org.pan.web.book.books(); //[ /booklist.jsp; Line: 6] pageContext.setAttribute("book", book); //[ /booklist.jsp; Line: 6] } // end synchronized bean instantiation block... //[ /booklist.jsp; Line: 6] } // end synchronized bean scope block... //[ /booklist.jsp; Line: 6] } // end bean instantiation block... //[ /booklist.jsp; Line: 6] out.print("\r\n"); org.pan.web.booksmn book_list = null; //[ /booklist.jsp; Line: 7] book_list = (org.pan.web.booksmn)pageContext.getAttribute("book_list"); //[ /booklist.jsp; Line: 7] if (book_list == null) { // begin 'book_list' instantiation block... //[ /booklist.jsp; Line: 7] { // Don't need to synchronize on page scope //[ /booklist.jsp; Line: 7] book_list = (org.pan.web.booksmn)pageContext.getAttribute("book_list"); //[ /booklist.jsp; Line: 7] if (book_list == null) { // begin 'book_list' synchronized instantiation block... //[ /booklist.jsp; Line: 7] book_list = new org.pan.web.booksmn(); //[ /booklist.jsp; Line: 7] pageContext.setAttribute("book_list", book_list); //[ /booklist.jsp; Line: 7] } // end synchronized bean instantiation block... //[ /booklist.jsp; Line: 7] } // end synchronized bean scope block... //[ /booklist.jsp; Line: 7] } // end bean instantiation block... //[ /booklist.jsp; Line: 7] out.print("\r\n"); org.pan.web.bookclasslist classlist = null; //[ /booklist.jsp; Line: 8] classlist = (org.pan.web.bookclasslist)pageContext.getAttribute("classlist"); //[ /booklist.jsp; Line: 8] if (classlist == null) { // begin 'classlist' instantiation block... //[ /booklist.jsp; Line: 8] { // Don't need to synchronize on page scope //[ /booklist.jsp; Line: 8] classlist = (org.pan.web.bookclasslist)pageContext.getAttribute("classlist"); //[ /booklist.jsp; Line: 8] if (classlist == null) { // begin 'classlist' synchronized instantiation block... //[ /booklist.jsp; Line: 8] classlist = new org.pan.web.bookclasslist(); //[ /booklist.jsp; Line: 8] pageContext.setAttribute("classlist", classlist); //[ /booklist.jsp; Line: 8] } // end synchronized bean instantiation block... //[ /booklist.jsp; Line: 8] } // end synchronized bean scope block... //[ /booklist.jsp; Line: 8] } // end bean instantiation block... //[ /booklist.jsp; Line: 8] out.print("\r\n"); //[ /booklist.jsp; Line: 9] int pages=1; //[ /booklist.jsp; Line: 10] String mesg = ""; //[ /booklist.jsp; Line: 11] //[ /booklist.jsp; Line: 12] if (request.getParameter("page")!=null && !request.getParameter("page").equals("")) { //[ /booklist.jsp; Line: 13]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -