📄 wareedit.jsp
字号:
<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<html>
<head>
<html:base/>
<title>商品编辑页面</title>
<link rel="stylesheet" type="text/css" href="../../photo/css.css">
</head>
<body>
<jsp:include flush="true" page="head.jsp"></jsp:include>
<html:form action="/wareSave?method=save&&wareId=${requestScope.singleWare.wareId}">
<table border="1" width="70%" align="center" cellspacing="0" cellpadding="10" bordercolor="#8000ff">
<tr>
<td colspan="2" align="center"><h3>商品编辑</h3></td>
</tr>
<tr>
<td>商品名称 :</td><td><html:text property="wareName" value="${requestScope.singleWare.wareName}"/><html:errors property="wareName"/></td>
</tr>
<tr>
<td>商品价格 :</td><td><html:text property="warePrice" value="${requestScope.singleWare.warePrice}"/><html:errors property="warePrice"/></td>
</tr>
<tr>
<td>商品状态 :</td>
<td>
<html:select property="wareState" value="${requestScope.singleWare.wareState}">
<html:option value="新品">新品</html:option>
<html:option value="非新品">非新品</html:option>
</html:select>
<html:errors property="wareState"/>
</td>
</tr>
<tr>
<td>商品照片 :</td><td><html:file property="warePhoto" value="${requestScope.singleWare.warePhoto}"/><html:errors property="warePhoto"/></td>
</tr>
<tr>
<td>商品信息 :</td><td><html:textarea property="wareInfo" value="${requestScope.singleWare.wareInfo}"/><html:errors property="wareInfo"/></td>
</tr>
<tr>
<td></td><td><html:submit value="提交"/></td>
</tr>
</table>
</html:form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -