⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 __usermainleft.java

📁 一个使用EJB开发的真实项目
💻 JAVA
字号:
/* compiled from JSP: /userMainLeft.jsp
*
* This code was automatically generated at 17:36:03 on 2007-1-13
* 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


// 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 17:36:03 on 2007-1-13
* by weblogic.servlet.jsp.Jsp2Java -- do not edit.
*
* Copyright (c) 2007 by BEA Systems, Inc. All Rights Reserved.
*/
public final class __usermainleft
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("/userMainLeft.jsp", 1168680426000L, "8.1.4.0", "Asia/Shanghai")) return true;    return false;  }    public static boolean _staticIsStale(weblogic.servlet.jsp.StaleChecker sci) {    java.io.File f = null;    long lastModWhenBuilt = 0L;    if (sci.isResourceStale("/userMainLeft.jsp", 1168680426000L, "8.1.4.0", "Asia/Shanghai")) return true;    return false;  }      private static void _writeText(ServletResponse rsp, JspWriter out, String block, byte[] blockBytes) throws IOException {    if (!_WL_ENCODED_BYTES_OK || _hasEncodingChanged(rsp)) {      out.print(block);    } else {      ((weblogic.servlet.jsp.ByteWriter)out).write(blockBytes, block);    }   }      private static boolean _hasEncodingChanged(ServletResponse rsp) {    if (_WL_ORIGINAL_ENCODING.equals(rsp.getCharacterEncoding())) {      return false;    }    return true;  }    private static boolean _WL_ENCODED_BYTES_OK = true;    private static final String _WL_ORIGINAL_ENCODING = "GB2312";    private static byte[] _getBytes(String block) {    try {      return block.getBytes(_WL_ORIGINAL_ENCODING);    } catch (java.io.UnsupportedEncodingException u) {      _WL_ENCODED_BYTES_OK = false;    }    return null;  }  private final static String _wl_block0 = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"\r\n\"http://www.w3.org/TR/html4/loose.dtd\">\r\n\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n<title>无标题文档</title>\r\n<meta http-equiv=\"refresh\" content=\"30\">\r\n</head>\r\n\r\n<body background=\"photo/userMainLeft.jpg\">\r\n";  private final static byte[] _wl_block0Bytes = _getBytes(_wl_block0);  private final static String _wl_block1 = "欢迎会员";  private final static byte[] _wl_block1Bytes = _getBytes(_wl_block1);  private final static String _wl_block2 = "登陆";  private final static byte[] _wl_block2Bytes = _getBytes(_wl_block2);  private final static String _wl_block3 = "<br/><br/><br/>\r\n<table width=\"207\" border=\"0\">\r\n  <tr>\r\n    <td height=\"24\" colspan=\"2\"><strong>个人信息</strong></td>\r\n  </tr>\r\n  <tr>\r\n    <td width=\"60\"> <div align=\"right\">|--</div></td>\r\n    <td width=\"131\"><a href=\"userXiuGaiZiLiaoChuLi.jsp\" target=\"rightFrame\">修改个人资料</a></td>\r\n  </tr>\r\n  <tr>\r\n    <td>&nbsp;</td>\r\n    <td>&nbsp;</td>\r\n  </tr>\r\n  <tr>\r\n    <td height=\"29\" colspan=\"2\"><strong>购买商品</strong></td>\r\n  </tr>\r\n  <tr>\r\n    <td> <div align=\"right\">|--- </div></td>\r\n    <td><a href=\"userChaKanShouJi.jsp\" target=\"rightFrame\">查看商品</a></td>\r\n  </tr>\r\n  <tr>\r\n    <td>&nbsp;</td>\r\n    <td>&nbsp;</td>\r\n  </tr>\r\n  <tr>\r\n    <td height=\"30\" colspan=\"2\"><strong>购物车</strong></td>\r\n  </tr>\r\n  <tr>\r\n    <td><div align=\"right\">|---</div></td>\r\n    <td><a href=\"gouwuchakan.jsp\" target=\"rightFrame\">查看购物车</a></td>\r\n  </tr>\r\n  <tr>\r\n    <td><div align=\"right\">|---</div></td>\r\n    <td><a href=\"dingDanChaKan.jsp\" target=\"rightFrame\">查看已提交物品</a></td>\r\n  </tr>\r\n  <tr>\r\n    <td>&nbsp;</td>\r\n    <td>&nbsp;</td>\r\n  </tr>\r\n  <tr>\r\n    <td height=\"24\"><strong>消费记录</strong></td>\r\n    <td>&nbsp;</td>\r\n  </tr>\r\n  <tr>\r\n    <td><div align=\"right\">|---</div></td>\r\n    <td><a href=\"userfahuoChaKan.jsp\" target=\"rightFrame\">查看消费记录</a></td>\r\n  </tr>\r\n  <tr>\r\n    <td><div align=\"right\">(已收</div></td>\r\n    <td>到的物品)</td>\r\n  </tr>\r\n  <tr>\r\n    <td><div align=\"right\">(或正</div></td>\r\n    <td>在为您发货)</td>\r\n  </tr>\r\n  <tr>\r\n    <td colspan=\"2\"> <div align=\"left\">\r\n\t<img src=\"photo/shizijia.jpg\" />\r\n\t</div></td>\r\n  </tr>\r\n</table>\r\n</body>\r\n</html>\r\n";  private final static byte[] _wl_block3Bytes = _getBytes(_wl_block3);  
  
  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");            _writeText(response, out, _wl_block0, _wl_block0Bytes);      if(session.getAttribute("userCode")==null) //[ /userMainLeft.jsp; Line: 12]      { //[ /userMainLeft.jsp; Line: 13]        response.sendRedirect("qingdenglu.jsp"); //[ /userMainLeft.jsp; Line: 14]      }else{ //[ /userMainLeft.jsp; Line: 15]        //[ /userMainLeft.jsp; Line: 15]        _writeText(response, out, _wl_block1, _wl_block1Bytes);        out.print(String.valueOf(session.getAttribute("userCode")));  //[ /userMainLeft.jsp; Line: 15]        _writeText(response, out, _wl_block2, _wl_block2Bytes);      } //[ /userMainLeft.jsp; Line: 15]      //[ /userMainLeft.jsp; Line: 15]      _writeText(response, out, _wl_block3, _wl_block3Bytes);    } catch (Throwable __ee) {      while (out != null && out != _originalOut) out = pageContext.popBody();      ((weblogic.servlet.jsp.PageContextImpl)pageContext).handlePageException((Throwable)__ee);    }        
    //before final close brace...
  }
  
  
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -