📄 imageuploadform.jsp
字号:
<%@ page language="java" %>
<%@ page isELIgnored="false" %>
<%@ taglib uri="/struts-html" prefix="html" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>插入图片</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="css/style.css" rel="stylesheet" type="text/css">
<script language="javascript">
function win_cancel()
{
window.returnValue=null;
window.close();
}
window.name = "imageUpload";
</script>
</head>
<body>
<center>
<table width="350" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<fieldset>
<legend>插入图片</legend>
<form action="<html:rewrite href="ImageUploadFunction.jsp?action=upload" />" enctype="multipart/form-data" method="post" style="margin:0px" target="imageUpload">
<table width="350" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="50" align="center" valign="middle">
<input type="file" name="imageFile" class="inputFile_postarticle">
</td>
</tr>
<tr>
<td height="25" align="center"><strong>允许类型:</strong><font color="#FF0000">.gif.jpg.jpeg.png</font> <strong>允许大小:</strong><font color="#FF0000">200KB</font></td>
</tr>
<tr>
<td height="30" align="right"><input type="submit" value="OK" class="submit_postarticle" /> <input name="cancel" type="button" class="submit_postarticle" value="Cancel" onClick="win_cancel()"> </td>
</tr>
</table>
</form>
</fieldset>
</td>
</tr>
</table>
</center>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -