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

📄 __list.java

📁 使用J2EE实现了软件园的下载和上传功能
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
/* compiled from JSP: /list.jsp
*
* This code was automatically generated at 18:56:25 on 2007-6-17
* 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.*; //[ /list.jsp; Line: 2]import javax.naming.*; //[ /list.jsp; Line: 2]import javax.rmi.*; //[ /list.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 18:56:25 on 2007-6-17
* by weblogic.servlet.jsp.Jsp2Java -- do not edit.
*
* Copyright (c) 2007 by BEA Systems, Inc. All Rights Reserved.
*/
public final class __list
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("/list.jsp", 1181878654000L, "8.1.4.0", "Asia/Shanghai")) return true;    if (sci.isResourceStale("/top.jsp", 1182077734000L, "8.1.4.0", "Asia/Shanghai")) return true;    if (sci.isResourceStale("/foot.jsp", 1181880966000L, "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("/list.jsp", 1181878654000L, "8.1.4.0", "Asia/Shanghai")) return true;    if (sci.isResourceStale("/top.jsp", 1182077734000L, "8.1.4.0", "Asia/Shanghai")) return true;    if (sci.isResourceStale("/foot.jsp", 1181880966000L, "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 = "\r\n";  private final static byte[] _wl_block0Bytes = _getBytes(_wl_block0);  private final static String _wl_block1 = "\r\n";  private final static byte[] _wl_block1Bytes = _getBytes(_wl_block1);  private final static String _wl_block2 = "\r\n<center>\r\n  <table width=\"770\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n    <tr>\r\n      <td>\r\n        <img src=\"images/top.gif\" width=\"770\" height=\"114\" alt=\"\">\r\n      </td>\r\n    </tr>\r\n    <tr>\r\n      <td>\r\n        <center>\r\n          <table width=\"770\" border=\"0\" align=\"center\" cellpadding=\"1\" cellspacing=\"0\">\r\n            <tr>\r\n              <td align=\"center\" class=\"bottomindex\">\r\n                <a href=\"index.jsp\"><img src=\"images/homepage.gif\" align=\"middle\" border=\"0\" alt=\"\"></a>\r\n                | <a href=class.jsp?classType=系统工具>系统工具</a>\r\n                | <a href=class.jsp?classType=书籍教程>书籍教程</a>\r\n                | <a href=class.jsp?classType=图形图像>图形图像</a>\r\n                | <a href=class.jsp?classType=多媒体类>多媒体类</a>\r\n                &nbsp; <script language=\"JavaScript\" type=\"text/JavaScript\">\r\nvar day=\"\";\r\nvar month=\"\";\r\nvar ampm=\"\";\r\nvar ampmhour=\"\";\r\nvar myweekday=\"\";\r\nvar year=\"\";\r\nmydate=new Date();\r\nmyweekday=mydate.getDay();\r\nmymonth=mydate.getMonth()+1;\r\nmyday= mydate.getDate();\r\nmyyear= mydate.getYear();\r\nyear=(myyear > 200) ? myyear : 1900 + myyear;\r\nif(myweekday == 0)\r\nweekday=\" 星期日 \";\r\nelse if(myweekday == 1)\r\nweekday=\" 星期一 \";\r\nelse if(myweekday == 2)\r\nweekday=\" 星期二 \";\r\nelse if(myweekday == 3)\r\nweekday=\" 星期三 \";\r\nelse if(myweekday == 4)\r\nweekday=\" 星期四 \";\r\nelse if(myweekday == 5)\r\nweekday=\" 星期五 \";\r\nelse if(myweekday == 6)\r\nweekday=\" 星期六 \";\r\ndocument.write(year+\"年\"+mymonth+\"月\"+myday+\"日 \"+weekday);\r\n</script>\r\n              </td>\r\n            </tr>\r\n          </table>\r\n        </center>\r\n      </td>\r\n    </tr>\r\n  </table>\r\n</center>\r\n";  private final static byte[] _wl_block2Bytes = _getBytes(_wl_block2);  private final static String _wl_block3 = "\r\n<script type=\"text/JavaScript\"  language=\"JavaScript\">\r\nfunction Onchange()\r\n{\r\n   var a=document.form1.type.value;\r\n   document.form1.action=\"list.jsp?type=\"+a;\r\n   document.form1.method=\"POST\";\r\n   document.form1.submit();\r\n}\r\n</script>\r\n<html>\r\n<head>\r\n<title>modify</title>\r\n<LINK href=\"css.css\" type=\"text/css\" rel=\"stylesheet\">\r\n</head>\r\n<body bgcolor=\"#ffffff\">\r\n<center>\r\n<form  name=\"form1\" id=\"form1\" action=\"\">\r\n  <table border=\"1\"  width=\"770\">\r\n    <tr>\r\n      <td width=\"30%\" align=\"center\" colspan=\"7\">软件类型:&nbsp;\r\n      <select name=\"type\" onChange=\"Onchange()\">\r\n      <option value=\"所有软件\">所有软件</option>\r\n      ";  private final static byte[] _wl_block3Bytes = _getBytes(_wl_block3);  private final static String _wl_block4 = "\r\n        <option value=\"";  private final static byte[] _wl_block4Bytes = _getBytes(_wl_block4);  private final static String _wl_block5 = "\">";  private final static byte[] _wl_block5Bytes = _getBytes(_wl_block5);  private final static String _wl_block6 = "</option>\r\n        ";  private final static byte[] _wl_block6Bytes = _getBytes(_wl_block6);  private final static String _wl_block7 = "\r\n      </td>\r\n    </tr>\r\n    </table>\r\n</form>\r\n    <table border=\"1\" bgcolor=\"#999999\" width=\"770\">\r\n    <tr>\r\n    <td align=\"center\">软件名称</td><td align=\"center\">上传日期</td><td align=\"center\">大小</td><td align=\"center\">类型</td><td align=\"center\">相关信息</td><td align=\"center\">修改</td><td align=\"center\">删除</td>\r\n    </tr>\r\n  ";  private final static byte[] _wl_block7Bytes = _getBytes(_wl_block7);  private final static String _wl_block8 = "\r\n   <form action=\"modify\" method=\"GET\">\r\n    <tr>\r\n      <td width=\"30\">\r\n        \r\n        <a href=\"software.jsp?softwareName=";  private final static byte[] _wl_block8Bytes = _getBytes(_wl_block8);  private final static String _wl_block9 = "\">";  private final static byte[] _wl_block9Bytes = _getBytes(_wl_block9);  private final static String _wl_block10 = "</a>\r\n      </td>\r\n      <td width=\"15\" align=\"center\"><input type=\"text\" name=\"id\"  disabled=\"disabled\" value=\"";  private final static byte[] _wl_block10Bytes = _getBytes(_wl_block10);  private final static String _wl_block11 = "\"><input type=\"hidden\" name=\"id2\"  value=\"";  private final static byte[] _wl_block11Bytes = _getBytes(_wl_block11);  private final static String _wl_block12 = "\"></td>\r\n      <td><input type=\"text\" name=\"size\" disabled=\"disabled\" value=\"";  private final static byte[] _wl_block12Bytes = _getBytes(_wl_block12);  private final static String _wl_block13 = "\"></td>\r\n      <td>\r\n        <input type=\"text\" name=softwareType disabled=\"disabled\" value=\"";  private final static byte[] _wl_block13Bytes = _getBytes(_wl_block13);  private final static String _wl_block14 = "\">\r\n      </td>\r\n      <td><input type=\"text\" name=\"softwareInfor\" value=\"";  private final static byte[] _wl_block14Bytes = _getBytes(_wl_block14);  private final static String _wl_block15 = "\"></td>\r\n      <td><input type=submit name=submit value=Edit></td>\r\n      <td><input type=submit name=submit value=Delete onclick=\"javascript:return confirm(\'确定删除?\');\"></td>\r\n    </tr>\r\n    </form>\r\n  ";  private final static byte[] _wl_block15Bytes = _getBytes(_wl_block15);  private final static String _wl_block16 = "\r\n  </table>\r\n</center>\r\n<br><br><br><br><br><br><br><br><br><br>\r\n</body>\r\n</html>\r\n";  private final static byte[] _wl_block16Bytes = _getBytes(_wl_block16);  private final static String _wl_block17 = "\r\n<center>\r\n<table style=\"background-image:url(\'images/foot.jpg\');height=60\"  width=\"770\"  border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n  <tr>\r\n    <td align=\"center\">版权所有:软件0412 <font color=\"red\">60</font>,<font color=\"red\">64</font> <a href=\"mailto:w_lin1986@126.com\"><img alt=\"\" src=\"images/72.gif\" /></a> </td>\r\n  </tr>\r\n<tr>\r\n    <td align=\"center\"><a href=\"login\">管理员登录</a></td>\r\n  </tr>\r\n</table>\r\n</center>\r\n";  private final static byte[] _wl_block17Bytes = _getBytes(_wl_block17);

⌨️ 快捷键说明

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