⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rltncustomer.jsp

📁 《Developing Applications with Java and UML》一书的源代码。
💻 JSP
字号:
<!-- This JSP will display the contents of the customerValue bean -->

<%@ page language="java" contentType="text/html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<jsp:useBean id="custVal" scope="request" class="com.jacksonreed.CustomerValue" />
<HTML>
<HEAD>
<TITLE>Remulak Customer Add/Update</TITLE>
</HEAD>
<BODY >

<P><FONT size=6>Remulak Customer Add/Update</FONT></P>

<%-- Output form with submitted values --%>
<form action="rltnUpdate" method="get">
  <table>
    <tr>
      <td>Customer Number:</td>
      <td>
        <input type="text" name="customerNumber"
            value="<jsp:getProperty name="custVal" property="customerNumber"/>">
      </td>
    </tr>
    <tr>
      <td>Prefix:</td>
        <td>
          <input type="text" name="prefix"
            value="<jsp:getProperty name="custVal" property="prefix"/>">
        </td>
    </tr>
    <tr>
      <td>First Name:</td>
        <td>
          <input type="text" name="firstName"
            value="<jsp:getProperty name="custVal" property="firstName"/>">
        </td>
    </tr>
    <tr>
      <td>Middle Init:</td>
        <td>
          <input type="text" name="middleInitial"
            value="<jsp:getProperty name="custVal" property="middleInitial"/>">
        </td>
    </tr>
    <tr>
      <td>Last Name:</td>
        <td>
          <input type="text" name="lastName"
            value="<jsp:getProperty name="custVal" property="lastName"/>">
        </td>
    </tr>
    <tr>
      <td>Suffix:</td>
        <td>
          <input type="text" name="suffix"
            value="<jsp:getProperty name="custVal" property="suffix"/>">
        </td>
    </tr>
    <tr>
      <td>Phone #1:</td>
        <td>
          <input type="text" name="phone1"
            value="<jsp:getProperty name="custVal" property="phone1"/>">
        </td>
    </tr>
    <tr>
      <td>Phone #2:</td>
        <td>
          <input type="text" name="phone2"
            value="<jsp:getProperty name="custVal" property="phone2"/>">
        </td>
    </tr>
    <tr>
      <td>EMail:</td>
        <td>
          <input type="text" name="eMail" size=30
            value="<jsp:getProperty name="custVal" property="EMail"/>">
        </td>
    </tr>

  </table>
<INPUT type="hidden" name="customerId" value="<jsp:getProperty name="custVal" property="customerId"/>">
<INPUT type=submit value="Add/Update Customer" name=action>
</form>
</BODY>
</HTML>

⌨️ 快捷键说明

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