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

📄 docupdate.jsp

📁 tomcat最新安装程序
💻 JSP
字号:
<%@ page contentType="text/html;charset=GB2312" %>
<%@ page import="cn.com.aheadsoft.util.UserInfo" %>
<%@ page import="cn.com.aheadsoft.util.StringFormat" %>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link rel="stylesheet" type="text/css" href="/krm/jsp/css/css.css">
<title>发文内容</title>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<form name="showDoc" method="post">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
      <td class="tdC" align="center"><font color="#FF0000">关闭页面请点击页面下方的关闭按钮!</font></td>
</tr>
</table>
          <%
		  	UserInfo  userinfo = (UserInfo)session.getAttribute("userinfo");
			String  username = userinfo.GetRealName();//当前用户的真实名字
			String SDI_ID = request.getParameter("docID");
		%>
<input type="hidden" value="<%=SDI_ID%>" name="docID"> <input type="hidden" value="<%=username%>" name="userName"> 
<div align="center">      <applet code="applet.DocUpdateApplet" codebase="." width=90% height=90%  name="obj_applet" mayscript="true">
              </applet> </div>        
        <table border="0" width="100%" align="center" bordercolor="A1B7DB" class="collapse">
           <tr> 
            <td align="center" colspan="2"><INPUT name="Button1" type="button"  onClick="callApplet()"  onmouseover="this.className='button2'" onmouseout="this.className='button1'"  class="button1" value="修 改">
	  <INPUT name="Button1" type="button"  onClick="deleteFile()"  onmouseover="this.className='button2'" onmouseout="this.className='button1'"  class="button1" value="关 闭">
            </td>
          </tr>
        </table>
 </form>
 <Script language=javascript> 
function callApplet() 
{ 
window.document.obj_applet.executeButton();
var clientError= window.document.obj_applet.getClientError();
var serverError= window.document.obj_applet.getServerError();
if(!clientError&&!serverError)
{
    alert ('成功修订!');
	window.close();
}
else alert('请检查是否删除了模板中的公文域,或者填写的数据格式不正确!'); 
} 
function deleteFile() 
{ 
window.document.obj_applet.closeBook();
	window.close();

} 
</Script> 
</body>
</html>

⌨️ 快捷键说明

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