query.jsp

来自「Struts+iBatis做的增删改查功能。开发工具:MyEclipse+MyS」· JSP 代码 · 共 125 行

JSP
125
字号
<%@ page language="java" contentType="text/html; charset=UTF-8"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
<%
	// 进行乱码处理
	request.setCharacterEncoding("UTF-8");
%>
<html>
<head>
	<title>查询</title>
</head>
<body>
	<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
	<html:form action="update.do" method="post">
	<bean:define id="PManageForm" name="Query" scope="request" />
		<tr>
			<td>名称</td>
			<td>
				<html:text property="title" name="PManageForm"/>
				<!-- 
					<bean:write name="PManageForm" property="title"/>
				 -->		
			</td>
		</tr>
  		<tr>
	  		<td>新品</td>
	  		<td>
	  			<html:text property="newProduct" name="PManageForm"/>
	  			<!-- 
	  				<bean:write name="PManageForm" property="newProduct" />	
	  			 -->
	  		</td>
  		</tr>
  		<tr>
	  		<td>目录</td>
	  		<td>
	  			<html:text property="catalog" name="PManageForm"/>
	  			<!-- 
	  				<bean:write name="PManageForm" property="catalog" /> 
	  			 --> 			
	  		</td>
  		</tr>
  		<tr>
	  		<td>目录名称</td>
	  		<td>
	  			<html:text property="catalogTitle" name="PManageForm"/>
	  			<!-- 
	  				<bean:write name="PManageForm" property="catalogTitle" />
	  			 -->
	  		</td>
  		</tr>
  		<tr>
	  		<td>目录id</td>
	  		<td>
	  			<html:text property="catalogId" name="PManageForm"/>
	  			<!-- 
	  				<bean:write name="PManageForm" property="catalogId" />
	  			 -->
	  		</td>
  		</tr>
  		<tr>
	  		<td>所属分类</td>
	  		<td>
	  			<html:text property="kind" name="PManageForm"/>
	  			<!-- 
	  				<bean:write name="PManageForm" property="kind" />
	  			 -->
	  		</td>
  		</tr>
  		<tr>
	  		<td>所属分类id</td>
	  		<td>
	  			<html:text property="kindId" name="PManageForm"/>
	  			<!-- 
	  				<bean:write name="PManageForm" property="kindId" />
	  			 -->
	  		</td>
  		</tr>
  		<tr>
	  		<td>产品名称</td>
	  		<td>
	  			<html:text property="productTitle" name="PManageForm"/>
	  			<!-- 
	  				<bean:write name="PManageForm" property="productTitle" />
	  			 -->
	  		</td>
  		</tr>
  		<tr>
	  		<td>供应商</td>
	  		<td>
	  			<html:text property="supplyTrader" name="PManageForm"/>
	  			<!-- 
	  				<bean:write name="PManageForm" property="supplyTrader" />
	  			 -->
	  		</td>
  		</tr>
  		<tr>
	  		<td>型号</td>
	  		<td>
	  			<html:text property="model" name="PManageForm"/>
	  			<!-- 
	  				<bean:write name="PManageForm" property="model" />
	  			 -->			
	  		</td>
  		</tr>
  		<tr>
	  		<td>产品特征参数</td>
	  		<td>
	  			<html:text property="productCP" name="PManageForm"/>
	  			<!-- 
	  				<bean:write name="PManageForm" property="productCP" /> 	
	  			 -->  					
	  		</td>
  		</tr>
  		<tr>
  			<td></td>
  			<td><html:submit value="修   改"/></td>
  		</tr>
  	</html:form>
	</table>
</body>
</html>

⌨️ 快捷键说明

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