new.jsp

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

JSP
34
字号
<%@ 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/fishNew.do">

<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  width="150"><html:text property="fish.productId" size="25" maxlength="10" /></TD>
  </tr>
  <tr >
    <td height="50" width="100">Name</td>
        <TD width="150"><html:text property="fish.name" size="25" maxlength="80" /></TD>
  </tr>
  <tr>
    <td height="50" width="100">Description</td>
        <TD width="150"><html:text property="fish.description" size="25" maxlength="255" /></TD>
  </tr>
  <tr >
    <td height="50" colspan="17" align="center">
      <div align="center">
	  <html:submit property="submit"  style="width:65"   value="怴婯"/>
	  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	  <input type="button"  style="width:65"  value="曉傞"  onclick="window.location.href('index.do')" />
      </div>    
  	</td>
  </tr>
</table>  
</html:form>

<%@ include file="../struts/IncludeBottom.jsp" %>

⌨️ 快捷键说明

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