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

📄 uploadimage.jsp

📁 OBPM是一个开源
💻 JSP
字号:
<%@include file="/common/taglibs.jsp"%>
<%@ page contentType="text/html; charset=GBK"%>
<%@ page import="cn.myapps.util.sequence.Sequence,cn.myapps.util.sequence.SequenceException" %>
<%
String contextPath = request.getContextPath();
%>
<html>
<head>
<title>{*[Upload file]*}</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="<%= contextPath %>/css/css.jsp" type="text/css">
<script src="<%=contextPath %>/script/util.js"></script>
<script language="JavaScript">
<!--
function ev_add() {
   	tips.style.display='';
 	frm.style.display='none';
 	document.uploadForm.appname.value='<%=contextPath%>';
 	document.uploadForm.submit();
}
function ev_init() {
   if(parent.sAction=='MODI')
   {
        document.getElementById('updatefilename').style.display='';
        document.getElementById('updatefilename').value = (parent.sFromUrl).substring(21);
        document.getElementById('updatefilename').disabled =true;
  		document.getElementById('upload').style.display='none';
  	}
  	else{
        document.getElementById('updatefilename').style.display='none';
        document.getElementById('upload').style.display='';
  	 //  
  	}
}

// -->
</script> 
</head>
<body  onload="ev_init()" style="padding:0px;margin:0px;background-color:#cccccc">
<div id="tips" style="display:none">
  <table width=100% height=100% align=center cellpadding=0 cellspacing=0 border=0 >
    <tr>
      <td align=center valign=middle><img src="<%=contextPath%>/resource/images/wait.gif"></td>
    </tr>
  </table>
</div>
<div id="frm">
<ww:form name="uploadForm" enctype="multipart/form-data" action="uploadimage" method="post">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" >
    <tr height="50%" valign="top">
    <td  align="left">
    	<ww:hidden name="uploadname" />
        <ww:hidden name="pass"/>
        <ww:hidden name="appname"/>
        <ww:hidden name="path" value="%{#parameters.path}"/>
        <input name="updatefilename" style='display:none' size=60 />
        <input type="file" style="width:100%" name="upload" />
         </td>
    </tr>
</table>
<input type="button" value="sub" onclick="ev_add()">
</ww:form>
</div>
</body>
</html>

⌨️ 快捷键说明

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