【Java开源代码栏目提醒】:网学会员,鉴于大家对Java开源代码十分关注,论文会员在此为大家搜集整理了“__orderlist.java”一文,供大家参考学习!
/* compiled from JSP: /manage/orderlist.jsp
*
* This code was automatically generated at 14:23:44 on 2004-3-2
* by weblogic.servlet.jsp.Jsp2
Java -- do not edit.
*/
package jsp_servlet._manage;
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 org.pan.web.book.indent; //[ /manage/orderlist.jsp; Line: 8]
import org.pan.web.book.shopuser; //[ /manage/orderlist.jsp; Line: 9]
// 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:23:45 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 __orderlist
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("/manage/orderlist.jsp", 1046050544000L, "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("/manage/orderlist.jsp", 1046050544000L, "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\r\n");
//[ /manage/orderlist.jsp; Line: 3]
if (session.getAttribute("admin")==null || session.getAttribute("admin")==""){ //[ /manage/orderlist.jsp; Line: 4]
response.sendRedirect("error.htm"); //[ /manage/orderlist.jsp; Line: 5]
} //[ /manage/orderlist.jsp; Line: 6]
//[ /manage/orderlist.jsp; Line: 6]
out.print("\r\n\r\n");
out.print("\r\n");
out.print("\r\n");
org.pan.web.purchase shop = null; //[ /manage/orderlist.jsp; Line: 10]
shop = (org.pan.web.purchase)pageContext.getAttribute("shop"); //[ /manage/orderlist.jsp; Line: 10]
if (shop == null) { // begin 'shop' instantiation block... //[ /manage/orderlist.jsp; Line: 10]
{ // Don't need to synchronize on page scope //[ /manage/orderlist.jsp; Line: 10]
shop = (org.pan.web.purchase)pageContext.getAttribute("shop"); //[ /manage/orderlist.jsp; Line: 10]
if (shop == null) { // begin 'shop' synchronized instantiation block... //[ /manage/orderlist.jsp; Line: 10]
shop = new org.pan.web.purchase(); //[ /manage/orderlist.jsp; Line: 10]
pageContext.setAttribute("shop", shop); //[ /manage/orderlist.jsp; Line: 10]
} // end synchronized bean instantiation block... //[ /manage/orderlist.jsp; Line: 10]
} // end synchronized bean scope block... //[ /manage/orderlist.jsp; Line: 10]
} // end bean instantiation block... //[ /manage/orderlist.jsp; Li