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

📄 uploadbackground.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();
String fileFileName = request.getParameter("fileFileName");
String uploadPath = request.getParameter("path");
String temp = Sequence.getSequence();
%>
<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';
    var fileName = document.uploadForm.file.value;
    var startwith = fileName.lastIndexOf(".");   
    fileName = fileName.substring(startwith);
    document.uploadForm.uploadname.value ='<%=temp%>'+fileName;
     document.uploadForm.appname.value='<%=contextPath%>';
      document.uploadForm.submit();
 	

}

// -->
</script> 
</head>
<body  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" value="pass"/>
             <ww:hidden name="appname"/>
              <ww:hidden name="path" value="WEB_UPLOADSPATH"/>
              <input type=file  name="file" />
         </td>
    </tr>
</table>
</ww:form>
</div>
</body>
</html>

⌨️ 快捷键说明

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