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

📄 editcategory.jsp

📁 本人编写的基于spring + spring mvc + hibernate架构的新闻系统
💻 JSP
字号:
<%@ page contentType="text/html;charset=UTF-8" errorPage=""%>
<%@ include file="/WEB-INF/pages/include.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>修改分类</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<link rel="stylesheet" type="text/css" href="styles/main.css">
	</head>
	<body>
		<spring:bind path="category.*">
			<c:forEach items="${status.errorMessages}" var="error">
				<h2>
					Error code:
					<c:out value="${error}" />
				</h2>
			</c:forEach>
		</spring:bind>
		<br />
		<br />
		<form method="post" action="editCategory.html" name="myForm">
			<spring:bind path="category.categoryid">
				<input type="hidden" name="cateogryid"
					value="<c:out value="${status.value}"/>">
			</spring:bind>
			<table border="0 cellpadding=" 0" align="center">
				<tr>
					<td align="right" valign="middle">
						<b>分类名称:</b>
					</td>
					<td align="left" valign="middle">
						<spring:bind path="category.categoryname">
							<input type="text" maxlength="15" name="categoryname"
								value="<c:out value="${status.value}"/>">
						</spring:bind>
					</td>
					<td align="left" valign="middle">
						&nbsp;&nbsp;
						<input type="submit" value="保存修改" name="update" />
					</td>
				</tr>
			</table>
		</form>
	</body>
</html>

⌨️ 快捷键说明

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