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

📄 a_audit.jsp

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

<%@ page language="java" pageEncoding="GBK" import="java.util.*"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ 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"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
	<style type="text/css">
	.tableHead{ /*表头*/
	font-size:12px;
	font-weight:bold;
	height:20pt;
	background:url(img/bg.bmp);
	text-align:buttom;
	}
.myTable{
	border:#00A8FF 1px solid;
	border-collapse:collapse;
	/*padding:0px 0px 0px 0px;*/
	}
.myTable TD{
	border:#00A8FF 1px solid;
	font-family:"宋体";
	font-size:10pt;
	/*height:22px;*/
	padding:0px 0px 0px 0px;
	}
.text{
	font-family:"宋体";
	font-size:10pt;
	/*height:22px;*/
	padding:0px 0px 0px 0px;
	width:200px;
	height:22px;
}
	</style>
	</head>
	<body>
		<table width="100%" border="1" class="myTable">
  <tr class="tableHead">
    <td colspan="2" align="center">公告信息</td>
  </tr>
  <tr>
    <td  align="right" width="10%">标题:&nbsp;</td>
    <td  align="center">${affiche.atitle}</td>
  </tr>
  <tr>
    <td align="right" width="10%">内容:&nbsp;</td>
    <td align="center">${affiche.acontent}</td>
  </tr>
  <tr>
    <td align="right" width="10%">发布时间:&nbsp;</td>
    <td align="center">${affiche.asend_time}</td>
  </tr>
  <tr>
    <td align="right" width="10%">有效时间:</td>
    <td align="center">${affiche.areal_time}&nbsp;</td>
  </tr>
  <tr>
    <td align="right" width="10%">发布人:</td>
    <td align="center">${affiche.fname}&nbsp;</td>
  </tr>
  <tr>
    <td align="right" width="10%">备注:</td>
    <td align="center">${affiche.amemo}&nbsp;</td>
  </tr>
  <c:if  test="${affiche.affixpath!=null}">
  	<% 
  		Map map = (Map)request.getAttribute("affiche");
  		String path = (String)map.get("affixpath");
  		String name = (String)map.get("affixname");   
  		String[] names = name.split(",");
   		for(int i=0;i<names.length;i++){
  	%>
  		 <tr>
    		<td align="right" width="10%">附件<%=i+1%></td>
    		<td align="center">
    		<a href ="${pageContext.request.contextPath}/Jsp_file/affiche/down.jsp?filename=<%=names[i]%>"><%=names[i]%></a>
    		&nbsp;
    		</td>
  		</tr>
  	<%		
  		}
  	%>
  </c:if>
   
  <tr>
  	<td>&nbsp;</td>
  	<td><input type="button" value="审核通过" onclick="javascript:location.href='${pageContext.request.contextPath}/affiche.do?method=audit&flag=ok&id=${affiche.aid}';""/>
		&nbsp;
		<input type="button" value="审核不通过" onclick="javascript:location.href='${pageContext.request.contextPath}/affiche.do?method=audit&flag=no&id=${affiche.aid}';""/>
		&nbsp;
		<input type="button" value="取消" onclick="javascript:history.back();"/>
	</td>
  </tr>
</table>
	</body>
</html>

⌨️ 快捷键说明

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