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

📄 fileupload_config.jsp

📁 jsp人事管理系统jsp+servlet
💻 JSP
字号:
<%@ page contentType="text/html; charset=GBK"%>
<%@ taglib uri="/cms4j" prefix="cms4j" %>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<title>CMS4J </title>
<link href="../skin/blue/css/oper_area.css" rel="stylesheet" type="text/css">
</head>
<script src="../../js/common.js"></script>
<script src="../../js/page_init.js"></script>
<script src="../../admin/js/article.js"></script>


<body>
<cms4j:fileupload_config>
<form action="../../do?action=modifyFileUploadConfig" method="post" name="jcmsFrom" id="jcmsFrom">

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="title-bar"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="26" class="title-bar-title-icon">&nbsp;</td>
        <td width="745" class="title-bar-text">文件上传参数配置</td>
      </tr>
    </table></td>
  </tr>
</table>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" class="title-bar2">
  <tr>
    <td><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr style="cursor:pointer" onClick="titleBarShowOrHide('p2')">
        <td width="26" class="title-bar2-btn-col" id="p2_btn">&nbsp;</td>
        <td width="745" class="title-bar2-text">基本信息</td>
      </tr>
    </table></td>
  </tr>
</table>
  <table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" class="table-frame" id="p2">
    <tr>
      <td width="29%" height="22" class="table-frame-input-title"><STRONG><STRONG><STRONG>可上传的文件类型(扩展名)</STRONG></STRONG>:</STRONG> </td>
      <td width="46%" height="22" class="table-cell-input"><textarea name="CAN_UPLOAD_TYPE" cols="50" rows="10" class="form-input" id="CAN_UPLOAD_TYPE"><%=fileuploadconfig_info.getCAN_UPLOAD_TYPE()%></textarea></td>
      <td width="25%" class="table-cell-input"><span class="text_remark">每个扩展名请用“|”符号分隔 </span></td>
    </tr>
    <tr>
      <td height="22" class="table-frame-input-title"><div align="right"></div></td>
      <td height="22" colspan="2" class="table-cell-input"><span class="text_audition_no"><strong>警告:</strong> 可上传文件类型控制的如果不严格,很有可能引起安全隐患</span></td>
    </tr>
    <tr>
      <td height="22" class="table-frame-input-title">上传文件保存目录:</td>
      <td height="22" colspan="2" class="table-cell-input"><input name="FILE_UPLOAD_DIR" type="text" class="form-input" id="FILE_UPLOAD_DIR" value="<%=fileuploadconfig_info.getFILE_UPLOAD_DIR()%>" size="30">
        默认值为 /uploaded</td>
    </tr>
    <tr>
      <td height="22" class="table-frame-input-title">上传文件最大大小:</td>
      <td height="22" colspan="2" class="table-cell-input"><input name="FILE_UPLOAD_MAX_SIZE" type="text" class="form-input" id="FILE_UPLOAD_MAX_SIZE" value="<%=fileuploadconfig_info.getFILE_UPLOAD_MAX_SIZE_KB()%>" size="16">        
        KB (1M = 1024KB)<span class="text_remark"> 当前值换算成M,值为: <b><%=fileuploadconfig_info.getFILE_UPLOAD_MAX_SIZE_M()%></b> 兆 </span></td>
    </tr>
  </table>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" class="table_bottom_line">
  <tr>
    <td></td>
  </tr>
</table>
<table width="99%" border="0" cellpadding="0" cellspacing="0" class="buttun-bar">
  <tr>
    <td><input name="Submit" type="submit" class="form-buttun" value="保 存"></td>
  </tr>
</table>
</form>
</cms4j:fileupload_config>

</body>
</html>

⌨️ 快捷键说明

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