📄 product.jsp
字号:
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
<head>
<base href="<%=basePath%>">
<title><bean:message key="System.title"/></title>
<link href="css/longhua.css" rel="stylesheet" type="text/css" />
</head>
<body>
<html:form action="/product?method=addProduct" method="post" enctype="multipart/form-data">
<bean:message key="user.message.ProductName"/> :<html:text property="productName"/><html:errors property="productName"/><br/>
<bean:message key="user.message.keywords"/> :<html:text property="keywords"/><html:errors property="keywords"/><br/>
<bean:message key="user.message.sendType"/> : <html:select property="sendType"></html:select><html:errors property="sendType"/><br/>
<bean:message key="user.message.payType"/> : <html:select property="payType"></html:select><html:errors property="payType"/><br/>
<bean:message key="user.message.productUnits"/> : <html:text property="productUnits"/><html:errors property="productUnits"/><br/>
<bean:message key="user.message.nowPrice"/> : <html:text property="nowPrice"/><html:errors property="nowPrice"/><br/>
<bean:message key="user.message.productModel"/> : <html:text property="productModel"/><html:errors property="productModel"/><br/>
<bean:message key="user.message.productPictrue"/> : <html:file property="productPictrue"></html:file><html:errors property="productPictrue"/><br/>
<bean:message key="user.message.supplier"/> : <html:text property="supplier"/><html:errors property="supplier"/><br/>
<bean:message key="user.message.nowPlace"/> : <html:text property="nowPlace"/><html:errors property="nowPlace"/><br/>
<bean:message key="user.message.productContent"/> : <html:textarea property="productContent"></html:textarea><html:errors property="productContent"/><br/>
<bean:message key="user.message.carriagePay"/> : <html:text property="carriagePay"/><html:errors property="carriagePay"/><br/>
<bean:message key="user.message.productDesc"/>: <html:text property="productDesc"/><html:errors property="productDesc"/><br/>
<bean:message key="user.message.productPrice"/> : <html:text property="productPrice"/><html:errors property="productPrice"/><br/>
<bean:message key="user.message.productCount"/> : <html:text property="productCount"/><html:errors property="productCount"/><br/>
<bean:message key="user.message.duration"/> : <html:select property="duration"></html:select><html:errors property="duration"/><br/>
<html:submit><bean:message key="message.submit"/></html:submit>
<html:cancel><bean:message key="message.cancel"/></html:cancel>
</html:form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -