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

📄 affairlist.jsp

📁 基于J2EE的办公自动化系统。实现流程定义流程办理等。运用了hibernate+struts+spring框架综合运用的系统。
💻 JSP
字号:

<%@ page language="java" pageEncoding="GBK"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<link href="<%=request.getContextPath()%>/Css_file/oa.css" rel="stylesheet" type="text/css" />

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<script>
	function searchclear(){
		var searchtext =  document.getElementById("tname");
		var searchclick =  document.getElementById("btn");
		searchtext.innerText = "";
		searchclick.click();
				
	}
</script>
<html:html lang="true">
  <head>
    <html:base />
    
    <title>定制事务列表</title>
    
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">    
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
  </head>
  <body>
<html:form action="/affairType" method="post" styleId="form1">
<table width="100%"  class="myTable">
<tr class="tableHead" align="center"><td colspan="2" >定制事务列表</td></tr>
<tr>
<td width="107" align="center">事务名称:</td><td ><html:text property="tname"  style="width: 100%"></html:text></td>
</tr>
<tr align="center">
<td colspan="2" >
<input type="hidden" name="task" value="getlist">
<html:submit styleId="btn" value="查询"></html:submit> <INPUT type="button" onclick="return searchclear();" value="重置"/>
</td>
</tr>
</table>
</html:form>

<table width="100%" border="0" align="center" cellspacing="0" class="myTable">
  <tr class="tableHead">
    <td height="27" align="center">事务名称</td>
    <td height="27" align="center">步骤数目</td>
    <td height="27" align="center">添加时间</td>
    <td height="27" align="center" >操作[<a href="<%=request.getContextPath()%>/Jsp_file/affair/addaffairtype.jsp">添加</a>]</td>
  </tr>
  <logic:present name="typepage" scope="request">
		<logic:present name="typepage" property="list" scope="request">
			<logic:notEmpty name="typepage" property="list" scope="request">
				<logic:iterate id="type" name="typepage" property="list" scope="request">
						<tr>
							<td align="center">${type.tname}</td>
							<td align="center">${type.tstep}</td>
							<td align="center">${type.ttime}</td>				
							<td align="center"><html:link action="/affairType?task=edittype&rtid=${type.rtid}">修改</html:link>|
							<html:link action="/affairType?task=deltype&rtid=${type.rtid}"onclick=" return confirm('确认要删除该事务吗?')">删除</html:link></td>
						</tr>
				</logic:iterate>
			</logic:notEmpty>
			<logic:empty name="typepage" property="list" scope="request">
				<tr>
					<TD colspan="4" align="center"><a style="color: red ;font-size: 14"  >没有你查找的内容</a></TD>
				</tr>
			</logic:empty>
		</logic:present>
	</logic:present>
</table>
${typepage.pageBar}
<a href="<%=request.getContextPath()%>/login.do?method=main"><strong><< 返回首页 <strong></a>
  </body>
</html:html>

⌨️ 快捷键说明

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