addquote.jsp

来自「程序构架基于:运用JSP+Struts+JSTL技术的MVC架构」· JSP 代码 · 共 69 行

JSP
69
字号

<%@ page contentType="text/html;charset=GB2312" isELIgnored="false"%>

<%@ taglib prefix="html" uri="/WEB-INF/struts-html.tld"%>
<%@ taglib prefix="bean" uri="/WEB-INF/struts-bean.tld"%>
<%@ taglib prefix="tiles" uri="/WEB-INF/struts-tiles.tld"%>

<html:form action="/addQuote.do" method="post">
	<table width="750" border="0" bgcolor="#EEEEEE">
		<tr>
			<td height="21" colspan="3" align="center" bgcolor="#3A6EA5">
				<font size="2" color="#FFFFFF">
					<b>
						<bean:message key="label.quote" />
					</b>
				</font>
			</td>
		</tr>
		<tr>
			<td colspan="3" align="center">
				<font size="2">
					<br>
					<bean:message key="label.quote.please" />
					<br>
					<html:hidden property="id" value="${param.id}" />
				</font>
				<font size="2" color="red">
					<b>
						<html:errors bundle="ERROR_RESOURCES" property="idError" />
					</b>
				</font>
			</td>
		</tr>
		<tr>
			<td width="22%" align="right" valign="top">
				<font size="2">
					<b>
						<bean:message key="label.content" />
						:
					</b>
				</font>
			</td>
			<td align="left" valign="top" colspan=2>
				<html:textarea property="content" rows="10" cols="50" styleClass="smallInput" />
				<font size="2" color="red">
					<b>
						<html:errors bundle="ERROR_RESOURCES" property="contentError" />
					</b>
				</font>
			</td>
		</tr>
		<tr>
			<td width="22%" align="right">

			</td>
			<td width="20%" align="left">
				<html:submit styleClass="buttonface">
					<bean:message key="label.send" />
				</html:submit>
			</td>
			<td align="left">
				<html:reset styleClass="buttonface">
					<bean:message key="label.reset" />
				</html:reset>
			</td>
		</tr>
	</table>
</html:form>

⌨️ 快捷键说明

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