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

📄 c0823d698469001b17ebfb69563bbe4c

📁 《精通SOA:基于服务总线的Struts+EJB+Web Service整合应用开发》原书的实例代码
💻
字号:
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>

<html:html>
<head><title>Regis.jsp</title>
</head>
<body>

<%@ include file="/sample/Top.jsp"%>

<logic:messagesPresent>
   <bean:message key="errors.header"/>
   <ul>
   <html:messages id="error">
      <li><bean:write name="error"/></li>
   </html:messages>
   </ul><hr />
</logic:messagesPresent>

<h2>Register</h2>
<html:form action="regis-submit">

<table >
  <tr>
    <th align="left">
      <bean:message key="registrationForm.name.displayname"/>
    </th>
    <td align="left">
      <html:text name="regisForm" property="name" size="30" maxlength="30"/>
    </td>
  </tr>
  <tr>
    <th align="left">
      <bean:message key="registrationForm.loginName.displayname"/>
    </th>
    <td align="left">
      <html:text name="regisForm" property="loginName" size="30" maxlength="30"/>
    </td>
  </tr>
  <tr>
    <th align="left">
      <bean:message key="registrationForm.password.displayname"/>
    </th>
    <td align="left">
      <html:text name="regisForm" property="password" size="30" maxlength="30"/>
    </td>
  </tr>  
  
  <tr>
    <th align="left" nwrap>
      <bean:message key="registrationForm.phone.displayname"/>
	  <bean:message key="registrationForm.phone.format"/>
    </th>
    <td align="left">
      <html:text name="regisForm" property="phone" size="30" maxlength="30"/>
    </td>
  </tr>
  <tr>
    <th align="left" nwrap>
      <bean:message key="registrationForm.email.displayname"/>
	  <bean:message key="registrationForm.email.format"/>
    </th>
    <td align="left">
      <html:text name="regisForm" property="email" size="30" maxlength="30"/>
    </td>
  </tr>
  <tr>
    <th align="left">
      <bean:message key="registrationForm.registrationFee.displayname"/>
    </th>
    <td align="left">
      <html:text name="regisForm" property="registrationFee" size="30" maxlength="30"/>
    </td>
  </tr>

  <tr>
    <td>
      <html:submit property="submit">
         <bean:message key="button.save"/>
      </html:submit>
      &nbsp;
      <html:reset>
         <bean:message key="button.reset"/>
      </html:reset>
      &nbsp;
      <html:cancel>
         <bean:message key="button.cancel"/>
      </html:cancel>    
    </td>
  </tr>
</table>

</html:form>

</body>
</html:html>

⌨️ 快捷键说明

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