📄 honour_add.jsp
字号:
<%@ page language="java" pageEncoding="GB2312"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<!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>
<table width="90%" border="0" align="center">
<tr>
<td width="22%" height="330">
<table border="1" cellpadding="0" cellspacing="0">
<tr>
<td align="middle" width="43%">
<img height="54" src="images/add_reg.gif" width="84" />
</td>
<td align="left" width="57%">
<strong>添加公司荣誉帮助 ds</strong>
</td>
</tr>
<tr>
<td class="word_grey" valign="top" colspan="2">
<li>
荣誉说明:长度控制在3-900个字符之内。</li>
<li>荣誉图片:可以是GIF、JPG格的图片,图片尺寸为250*176像素,大小不得超过150K。</li>
</td>
</tr>
</table>
</td>
<td width="68%">
<html:form action="honour.do?method=addhonour" method="post" enctype="multipart/form-data" onsubmit="return mycheck(HonourForm)" >
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="28" align="center">
荣誉说明::
</td>
<td height="28">
<textarea name="title" cols="57" rows="7" ></textarea>
*
</td>
</tr>
<tr>
<td height="28" align="center">
产品图片:
</td>
<td>
<html:file property="imageFile" size="45" />
</td>
</tr>
<tr>
<td height="34">
</td>
<td class="word_grey">
<html:submit value="保存" />
<html:reset value="重置" />
</td>
</tr>
</table>
</html:form>
</td>
</tr>
</table>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -