modify.jsp

来自「JPetStore源码」· JSP 代码 · 共 32 行

JSP
32
字号
<%@ include file="../struts/IncludeTop.jsp" %>
<%@ page contentType="text/html" pageEncoding="windows-31J"%>
<%@ taglib prefix="html" uri="http://jakarta.apache.org/struts/tags-html"%>

<html:form action="/shop/fishModify.do" styleId="fishForm" method="post">
  <center>
    <h2>FISH</h2>
  </center>
  <TABLE cellpadding=10 cellspacing=0 align=center border=1 bgcolor="#dddddd">
    <tr>
      <td height="50" width="100">Product ID</td>
      <TD> <c:out value="${fishForm.fish.productId}"/><html:hidden name="fishForm" property="fish.productId"/></TD>
    </tr>
    <tr>
      <td height="48" width="100">Name</td>
      <TD><html:text name="fishForm" property="fish.name" size="25" maxlength="80"/></TD>
    </tr>
    <tr>
      <td height="52" width="100">Description</td>
      <TD><html:text name="fishForm" property="fish.description" size="25" maxlength="255"/></TD>
    </tr>
    <tr>
      <td height="53" colspan="17" align="center"><div align="center">
          <html:submit property="submit"  style="width:65"  value="廋惓"/>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          <input type="button"  value="曉傞"  style="width:65" onclick="window.location.href('fishBrowse.do?categoryId=notFishBrowse')" />
        </div></td>
    </tr>
  </table>
</html:form>
<%@ include file="../struts/IncludeBottom.jsp" %>

⌨️ 快捷键说明

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