📄 __index.java
字号:
/* compiled from JSP: /index.jsp
*
* This code was automatically generated at 16:33:31 on 2004-6-16
* 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 user.*; //[ /index.jsp; Line: 2]
// 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 16:33:31 on 2004-6-16
* by weblogic.servlet.jsp.Jsp2Java -- do not edit.
*
* Copyright (c) 2004 by BEA Systems, Inc. All Rights Reserved.
*/
public final class __index
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("/index.jsp", 1087374808000L, "WebLogic Server 7.0 Thu Apr 25 17:16:22 PDT 2002 180709 ")) return true; return false; } public static boolean _staticIsStale(weblogic.servlet.jsp.StaleChecker sci) { java.io.File f = null; long lastModWhenBuilt = 0L; if (sci.isResourceStale("/index.jsp", 1087374808000L, "WebLogic Server 7.0 Thu Apr 25 17:16:22 PDT 2002 180709 ")) 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=GBK"); out = pageContext.getOut(); JspWriter _originalOut = out;
javax.servlet.http.HttpSession session = request.getSession(true);
try { // error page try block response.setContentType("text/html; charset=GBK"); out.print("\r\n"); out.print("\r\n<html>\r\n<head>\r\n"); //[ /index.jsp; Line: 5] String userName = ""; //[ /index.jsp; Line: 6] if(session.getAttribute("user") != null){ //[ /index.jsp; Line: 7] User user = (User)session.getAttribute("user"); //[ /index.jsp; Line: 8] userName = user.getUserName(); //[ /index.jsp; Line: 9] }else{ //[ /index.jsp; Line: 10] userName = "未登陆"; //[ /index.jsp; Line: 11] } //[ /index.jsp; Line: 12] out.print("\r\n<title>企业进、销、存管理信息系统:用户("); out.print(String.valueOf(userName)); //[ /index.jsp; Line: 14] out.print(")</title>\r\n</head>\r\n<body>\r\n<center>\r\n<h2>企业进、销、存管理信息系统:用户("); out.print(String.valueOf(userName)); //[ /index.jsp; Line: 18] out.print(")</h2>\r\n<hr size=\"5\" color=\"#0066FF\">\r\n<table width=\"90%\" >\r\n <tr align=\"left\">\r\n <td>\r\n <h3>基础信息模块</h3>\r\n <h4><a href=\"login.jsp\" target=\"_blank\">用户登陆</a></h4>\r\n <h4><a href=\"ledgerselect.jsp\" target=\"_blank\">账套选择</a></h4>\r\n <h4><a href=\"goodsviewmainframe.html\" target=\"_blank\">商品数据查看</a></h4>\r\n <h4><a href=\"supplierview.jsp\" target=\"_blank\">供应商数据查看</a></h4>\r\n <h4><a href=\"customerview.jsp\" target=\"_blank\">客户数据查看</a></h4>\r\n <h4><a href=\"warehouseview.jsp\" target=\"_blank\">仓库数据查看</a></h4>\r\n <h4><a href=\"userlogview.jsp\" target=\"_blank\">用户日志查看</a></h4>\r\n </td>\r\n <td>\r\n <h3>进货模块</h3>\r\n <h4><a href=\"cashledgerview.jsp\" target=\"_blank\">现金日记账查看</a></h4>\r\n <h4><a href=\"stockorderviewmainframe.html\" target=\"_blank\">进货单查看</a></h4>\r\n <h4><a href=\"accountpayableview.jsp\" target=\"_blank\">应付账款查看</a></h4>\r\n <h4> </h4>\r\n <h4> </h4>\r\n <h4> </h4>\r\n <h4> </h4>\r\n </td>\r\n <td>\r\n <h3>库存模块</h3>\r\n <h4><a hre"); out.print("f=\"stockmanageledgerviewmainframe.html\" target=\"_blank\">库存单据查看</a></h4>\r\n <h4><a href=\"stockusefullifeview.jsp\" target=\"_blank\">商品有效期查看</a></h4>\r\n <h4> </h4>\r\n <h4> </h4>\r\n <h4> </h4>\r\n <h4> </h4>\r\n <h4> </h4>\r\n </td>\r\n <td>\r\n <h3>销售模块</h3>\r\n <h4><a href=\"saleledgerviewmainframe.html\" target=\"_blank\">销售单查看</a></h4>\r\n <h4><a href=\"accountreceivableview.jsp\" target=\"_blank\">应收账款查看</a></h4>\r\n <h4> </h4>\r\n <h4> </h4>\r\n <h4> </h4>\r\n <h4> </h4>\r\n <h4> </h4>\r\n </td>\r\n </tr>\r\n</table>\r\n<hr size=\"5\" color=\"#0066FF\">\r\n</center>\r\n</body>\r\n</html>"); } 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 + -