第二个页面:
<body>
<table width="1024" height="70">
<tr>
<td width="70" align="left" valign="top">
<img src="pages/pictures/scs.JPG" border="0" />
</td>
<td width="800" align="center">
<!-- InstanceBeginEditable name="EditRegion1" -->
修改库存信息
<!-- InstanceEndEditable -->
</td>
</tr>
</table>
<table align="center">
<!-- InstanceBeginEditable name="EditRegion2" -- <logic:iterate id="stockInfo" name="stockInfo">
<html:form action="/alterStock"
onsubmit="return validateAlterStockForm(this)">
<html:javascript formName="alterStockForm" />
<tr>
<td align="right">
名称:
</td>
<td align="left">
<html:text name="stockInfo" property="goodsName"></html:text>
</td>
</tr>
<tr>
<td align="right">
规格:
</td>
<td align="left">
<html:text name="stockInfo" property="goodsSize"></html:text>
</td>
</tr>
<tr>
<td align="right">
类别:
</td>
<td align="left">
<html:select property="stockCategoryId">
<option
value="<bean:write name="stockInfo" property="stockCategoryId"/>"
selected="selected">
<bean:write name="stockInfo" property="stockCategoryName" />
</option>
<logic:iterate id="stockCategories" name="stockCategoriesInfo">
<option
value="<bean:write name="stockCategories" property="stockCategoryID" />">
<bean:write name="stockCategories"
property="stockCategoryName" />
</option>
</logic:iterate>
</html:select>
</td>
</tr>
<tr>
<td align="right">
单价:
</td>
<td align="left">
<html:text name="stockInfo" property="unitPrice"></html:text>
</td>
</tr>
<tr>
<td align="right">
安全库存:
</td>
<td align="left">
<html:text name="stockInfo" property="safetyStock"></html:text>
</td>
</tr>
<tr>
<td align="right">
存放位置:
</td>
<td align="left">
<html:text name="stockInfo" property="storePosition"></html:text>
</td>
</tr>
<tr>
<td align="right">
数量:
</td>
<td align="left">
<html:text name="stockInfo" property="amount"></html:text>
</td>
</tr>
<tr>
<td align="right" valign="top">
备注:
</td>
<td align="left">
<html:textarea name="stockInfo" property="re" rows="5"></html:textarea>
</td>
</tr>
<tr>
<td>
</td>
<td align="left">
<html:submit>修改</html:submit>
<html:reset>重填</html:reset>
</td>
</tr>
</html:form>
</logic:iterate>
<!-- InstanceEndEditable -->
</table>
</body>
<body>
<table width="1024" height="70">
<tr>
<td width="70" align="left" valign="top">
<img src="pages/pictures/scs.JPG" border="0" />
</td>
<td width="800" align="center">
<!-- InstanceBeginEditable name="EditRegion1" -->
修改库存信息
<!-- InstanceEndEditable -->
</td>
</tr>
</table>
<table align="center">
<!-- InstanceBeginEditable name="EditRegion2" -- <logic:iterate id="stockInfo" name="stockInfo">
<html:form action="/alterStock"
onsubmit="return validateAlterStockForm(this)">
<html:javascript formName="alterStockForm" />
<tr>
<td align="right">
名称:
</td>
<td align="left">
<html:text name="stockInfo" property="goodsName"></html:text>
</td>
</tr>
<tr>
<td align="right">
规格:
</td>
<td align="left">
<html:text name="stockInfo" property="goodsSize"></html:text>
</td>
</tr>
<tr>
<td align="right">
类别:
</td>
<td align="left">
<html:select property="stockCategoryId">
<option
value="<bean:write name="stockInfo" property="stockCategoryId"/>"
selected="selected">
<bean:write name="stockInfo" property="stockCategoryName" />
</option>
<logic:iterate id="stockCategories" name="stockCategoriesInfo">
<option
value="<bean:write name="stockCategories" property="stockCategoryID" />">
<bean:write name="stockCategories"
property="stockCategoryName" />
</option>
</logic:iterate>
</html:select>
</td>
</tr>
<tr>
<td align="right">
单价:
</td>
<td align="left">
<html:text name="stockInfo" property="unitPrice"></html:text>
</td>
</tr>
<tr>
<td align="right">
安全库存:
</td>
<td align="left">
<html:text name="stockInfo" property="safetyStock"></html:text>
</td>
</tr>
<tr>
<td align="right">
存放位置:
</td>
<td align="left">
<html:text name="stockInfo" property="storePosition"></html:text>
</td>
</tr>
<tr>
<td align="right">
数量:
</td>
<td align="left">
<html:text name="stockInfo" property="amount"></html:text>
</td>
</tr>
<tr>
<td align="right" valign="top">
备注:
</td>
<td align="left">
<html:textarea name="stockInfo" property="re" rows="5"></html:textarea>
</td>
</tr>
<tr>
<td>
</td>
<td align="left">
<html:submit>修改</html:submit>
<html:reset>重填</html:reset>
</td>
</tr>
</html:form>
</logic:iterate>
<!-- InstanceEndEditable -->
</table>
</body>
请大家帮我看下
3q