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

📄 imageuploadform.jsp

📁 应用struts建立的文章管理系统
💻 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>&nbsp;&nbsp;<strong>允许大小:</strong><font color="#FF0000">200KB</font></td>
          </tr>
          <tr>
            <td height="30" align="right"><input type="submit" value="OK" class="submit_postarticle" />&nbsp;&nbsp;<input name="cancel" type="button" class="submit_postarticle" value="Cancel" onClick="win_cancel()">&nbsp;&nbsp;</td>
          </tr>
      </table>
	  </form>
	    </fieldset>
	  </td>
  </tr>
</table>
</center>
</body>
</html>

⌨️ 快捷键说明

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