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

📄 honour_modi_save.jsp

📁 用SPRING做的一个企业信息系统网站
💻 JSP
字号:
<%@ page language="java" pageEncoding="GB2312"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<style>
TABLE {
	BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px
}
TD {
	FONT: 12px 宋体
}
</style>

<html:html>
<script language="javascript">
function mycheck(myform){
if (myform.title.value=="")
{alert("请输入荣誉说明!");myform.title.focus();return false;}
if(myform.imageFile.value=="")
{alert("请上传公司荣誉图片!");myform.imageFile.focus();return false;}

}
</script>
<body>
	<p>&nbsp;&nbsp;</p>
	<table width="90%" border="0" align="center">
		<tr>					
			<td width="22%" height="330" rowspan="2">
				<table border="1" cellpadding="0" cellspacing="0">					
					<tr>
						<td>
							<img src="uploadImage/${Honours[0].imagepath}"/>   
						</td>
					</tr>
				</table>
			</td>
			<td width="68%">
				<html:form action="honour.do?method=updatehonour" method="post" enctype="multipart/form-data" onsubmit="return mycheck(HonourForm)" >				
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<input type="hidden" name="ID" value="${Honours[0].ID}"/>
						<tr>
							<td height="28" align="center">
								荣誉说明:
							</td>
							<td height="28" align="left">								
									<textarea name="title" rows="7" cols="30">
									${Honours[0].title}
									</textarea>						
								*
							</td>
						</tr>
						<tr>
							<td height="28" align="center">
								产品图片:
							</td>
							<td>
								<html:file property="imageFile" />
								
							</td>
						</tr>
						<tr>
							<td height="34">
								&nbsp;
							</td>
							<td class="word_grey">
								<input type ="submit" value="保存" />
								<input type ="reset" value="重置" />
							</td>
						</tr>
					</table>
				</html:form>
			</td>
		</tr>
	</table>
</body>
</html:html>

⌨️ 快捷键说明

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