?? pathtable.jsp
字號:
<%@ page contentType="text/html;charset=GB2312"%>
<%@ page language="java"%>
<%@ page import="com.stsc.archive.volumn.*" %>
<%@ page import="com.stsc.archive.file.Constants" %>
<%@ page import="com.stsc.util.*" %>
<%@ page import="java.util.Properties" %>
<%@ taglib uri="/web-inf/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/web-inf/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/web-inf/struts-html.tld" prefix="html"%>
<html:html locale="ture">
<% Properties dbBase = new Properties();
dbBase.setProperty("dsJndiName", Constants.ARCHIVE_DBSOURCE_KEY);
//System.out.println("dsfasdaa23233================"+filetypename);
STPoolDataSet data= new STPoolDataSet();
STResultSet rs=data.getSTResult("select count(*) from fOfficalText",dbBase);
int total=0;
if(rs.next()){
total=rs.getInt(1);
}
%>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>其他參數表設置</title>
</head>
<body>
<p align="center"><font size="5">其他參數表設置</font></p>
<table align="center" border="0" cellpadding="3" cellspacing="0" width="777" height="22" bgcolor="#3A5C9F"> <tr>
<td width="139" height="513" valign="top">
<ul>
<li>
<p style="margin-top: 10"><a href="viewsystemAction.do">系統表</a></li>
<li>
<p style="margin-top: 10"><a href="viewfilekindtableAction.do">檔案種類表</a></li>
<li>
<p style="margin-top: 10"><a href="viewdocumentkindtableAction.do">文件種類表</a></li>
<li>
<p style="margin-top: 10"><a href="viewcategorytableAction.do">文件類目表</a></li>
<li>
<p style="margin-top: 10">其他參數表</li>
</ul>
<input type="button" value="返回" onClick="javascript:location.href='newwelcome.jsp'">
</td>
<td width="569" height="513" valign="top">
<html:form method="POST" action="pathtableAction.do" >
<div align="center">
<center>
<table border="1" cellpadding="0" cellspacing="0" width="61%" height="121">
<tr>
<td width="21%" height="18" align="center" >附件存放路徑</td>
<td width="21%" height="18" align="center" >備份文件存放路徑</td>
<td width="26%" height="18" align="center">刪除</td>
</tr>
<logic:iterate id="element" name="myhashtable" property="fileNames">
<tr>
<td width="53%" height="25" align="center"> <bean:write name="element" property="path" filter="true"/></td>
<td width="53%" height="25" align="center"> <bean:write name="element" property="backuppath" filter="true"/></td>
<td width="26%" height="25" align="center"><html:multibox property="enterName"><bean:write name="element" property="path" filter="true"/></html:multibox></td>
</tr>
</logic:iterate>
</table>
</center>
</div>
<%if(total!=0){%>
<p align="center"><a href="addpath.do">編輯</a> <html:submit onclick="return confirm('您確認需要刪除所選擇的嗎?')">刪除</html:submit>
<%}else{%>
<p align="center"><a href="systemjsp/addpath_new.jsp">添加</a> <html:submit onclick="return confirm('您確認需要刪除所選擇的嗎?')">刪除</html:submit>
<%}%>
<html:reset>重置</html:reset>
</html:form>
<p> </p>
</td>
</tr>
</table>
</body>
</html:html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -