📄 productadd.jsp.svn-base
字号:
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<html>
<head>
<title><fmt:message key="title" />
</title>
</head>
<body>
<h1>
<fmt:message key="productadd.heading" />
</h1>
<form method="post">
<table width="95%" bgcolor="f8f8ff" border="0" cellspacing="0"
cellpadding="5">
<tr>
<td align="right" width="20%">
Product Description:
</td>
<spring:nestedPath path="produc">
<spring:bind path="description">
<td width="20%">
<input type="text" name="${status.expression}"
value="<c:out value="${status.value}"/>">
</td>
<td width="60%">
<font color="red"> <c:out value="${status.errorMessage}" />
</font>
</td>
</spring:bind>
</spring:nestedPath>
</tr>
<tr>
<td align="right" width="20%">
Product Price:
</td>
<spring:bind path="produc.price">
<td width="20%">
<input type="text" name="${status.expression}"
value="<c:out value="${status.value}"/>">
</td>
<td width="60%">
<font color="red"> <c:out value="${status.errorMessage}" />
</font>
</td>
</spring:bind>
</tr>
</table>
<br>
<spring:hasBindErrors name="produc">
<b>Please fix all errors!</b>
</spring:hasBindErrors>
<br>
<br>
<input type="submit" align="center" value="Execute">
</form>
<a href="<c:url value="product.htm"/>">Home</a>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -