add_customer.jsp

来自「加拿大达内科技有限公司配需java程序员的上课时的代码」· JSP 代码 · 共 48 行

JSP
48
字号
<%@ page language="java" pageEncoding="ISO-8859-1"%>

<%@ 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" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
  <head>
    <html:base />
    
    <title>add_customer.jsp</title>

	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
  <center>
  	<font size="6">add customer</font>
  	<br>
    <html:form action="/customer.do" method="post" focus="name">
      <table border="0">
        <tr>
          <td>customer's name:</td>
          <td><html:text property="name" /></td>
        </tr>
        <tr>
          <td>customer's age:</td>
          <td><html:text property="age" /></td>
        </tr>
        <tr>
          <td colspan="2" align="center"><html:submit value="confirm"/></td>
        </tr>
      </table>
    </html:form>
    </center>
  </body>
</html:html>

⌨️ 快捷键说明

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