newaccount.jsp

来自「《精通JSP编程 》源代码(赵强那本) 很有用的源代码」· JSP 代码 · 共 63 行

JSP
63
字号
<%@ page contentType="text/html; charset=GBK" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html>
<head>
<title><bean:message key="title.newUser"/></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<tiles:insert page="/banner.jsp" flush="false" />
<body>
<html:errors/>
<html:form action="/newUserAction">
  <p><bean:message key="prompt.accounInfo"/></p>
  <table with="800" border="0">
    <tr>
      <td width="135"><bean:message key="prompt.userId"/></td>
      <td width="655"><html:text maxlength="20" property="userID" size="30"/></td>
    </tr>
    <tr>
      <td><bean:message key="prompt.password"/></td>
      <td><html:password maxlength="20" property="password" size="30"/></td>
    </tr>
    <tr>
      <td><bean:message key="prompt.confirmPassword"/></td>
      <td><html:password maxlength="20" property="passwordConfirm" size="30"/></td>
    </tr>
    <tr>
      <td><bean:message key="prompt.email"/></td>
      <td><html:text maxlength="50" property="email" size="60"/></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
  </table>
  <p><bean:message key="prompt.addressInfo"/></p>
  <table width="800" border="0">
    <tr>
      <td width="136"><bean:message key="prompt.realname"/></td>
      <td width="654"><html:text maxlength="20" property="realName" size="30" /></td>
    </tr>
    <tr>
      <td><bean:message key="prompt.address"/></td>
      <td><html:text maxlength="255" property="addr" size="80"/></td>
    </tr>
    <tr>
      <td><bean:message key="prompt.zip"/></td>
      <td><html:text maxlength="10" property="postalCode" size="15"/></td>
    </tr>
    <tr>
      <td><bean:message key="prompt.phone"/></td>
      <td><html:text maxlength="20" property="phone" size="25"/></td>
    </tr>
  </table>
  <p>
    <html:submit><bean:message key="button.confirm"/></html:submit>
  </p>
</html:form>
</body>
</html:html>

⌨️ 快捷键说明

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