forked from maxliaops/Java_Web_Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathupimg.jsp
More file actions
33 lines (28 loc) · 1.16 KB
/
upimg.jsp
File metadata and controls
33 lines (28 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<%@ page contentType="text/html; charset=GB2312" %>
<%@ page import="electric.electricUtils.ParamUtils"%>
<%
String formName=ParamUtils.getEscapeHTMLParameter(request,"formname","");
String controlName=ParamUtils.getEscapeHTMLParameter(request,"controlname","");
String imageHandle=ParamUtils.getEscapeHTMLParameter(request,"imagename","");
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>上传图片</title>
</head>
<body>
<form method="POST" action="upimg_upload.jsp" ENCTYPE="multipart/form-data">
<p> aYAYA 图片上传工具<br>
<br>
选择要上传的文件:<input type="file" name="UPIMG" size="40"></p>
<p>
<input type="hidden" name="formname" value="<%=formName%>">
<input type="hidden" name="controlname" value="<%=controlName%>">
<input type="hidden" name="imagename" value="<%=imageHandle%>">
<input type="submit" value="开始上传" name="B1"><input type="button" value="取消返回" name="B2"></p>
</form>
</body>
</html>