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

📄 entry.jsp

📁 有完整的程序和源码
💻 JSP
字号:
<%@ page contentType="text/html; charset=GBK" %>
<%@ taglib uri="/WEB-INF/struts-template.tld" prefix="template" %>


<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/jstl-core.tld" prefix="c" %>
<html:form method="post" action="/Personal/save">
<html:hidden property="strutsAction"/>

  <table bgcolor="#666666" cellpadding="1" cellspacing="0" border="0" width="500">
<tr>
<td>
<table cellpadding="0" cellspacing="0" border="0" width="500">
<tr>
<td bgcolor="#fecc51">&nbsp;</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellpadding="0" cellspacing="0" border="0" width="500">
<tr>
<td bgcolor="#d6e0ed">

    <c:choose>
      <c:when test="${requestScope['personalForm'].strutsAction == 1}">
        <bean:message key="label.add"/>
      </c:when>
      <c:otherwise>
        <bean:message key="label.edit"/>
      </c:otherwise>
    </c:choose>
    &nbsp;员工

  </td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="5%"></td><td width="19%"></td><td width="76%"></td>
</tr>
  <tr>
<td>
<table bgcolor="#f2f2f2" width="500" cellspacing="0" border="0">
    <tr bgcolor="#FFFFFF">
<td width="5%"></td><td width="19%"></td><td width="76%"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="5%"></td><td width="19%"></td><td width="76%"></td>
</tr>
    <c:choose>
      <c:when test="${requestScope['personalForm'].strutsAction == 1}">
    <tr>
<td width="5%"></td><td width="19%"><b><bean:message key="Personal.personalid"/></b></td><td width="76%"><html:text property="personalid" size="20"/></td>
</tr>
    </c:when>
    <c:otherwise>
    <html:hidden property="personalid"/>
    <tr>
<td width="5%"></td><td width="19%"><b><bean:message key="Personal.personalid"/></b></td><td width="76%"><bean:write name="personalForm" property="personalid"/></td>
</tr>
    </c:otherwise></c:choose>
    <tr>
<td width="5%"></td><td width="19%"><b><bean:message key="Personal.name"/></b></td><td width="76%"><html:text property="name" size="20"/></td>
</tr>
    <tr>
<td width="5%"></td><td width="19%"><b><bean:message key="Personal.sex"/></b></td><td width="76%"><html:text property="sex" size="5"/></td>
</tr>
    <tr>
<td width="5%"></td><td width="19%"><b><bean:message key="Personal.nationname"/></b></td><td width="76%"><html:text property="nationname" size="20"/></td>
</tr>
    <tr>
<td width="5%"></td><td width="19%"><b><bean:message key="Personal.politics"/></b></td><td width="76%"><html:text property="politics" size="20"/></td>
</tr>
    <tr>
<td width="5%"></td><td width="19%"><b><bean:message key="Personal.diploma"/></b></td><td width="76%"><html:text property="diploma" size="20"/></td>
</tr>
    <tr>
<td width="5%"></td><td width="19%"><b><bean:message key="Personal.businessname"/></b></td><td width="76%"><html:text property="businessname" size="50"/></td>
</tr>
    <tr>
<td width="5%"></td><td width="19%"><b><bean:message key="Personal.typeofworkname"/></b></td><td width="76%"><html:text property="typeofworkname" size="50"/></td>
</tr>
    <tr>
<td width="5%"></td><td width="19%"><b><bean:message key="Personal.deptname"/></b></td><td width="76%"><html:text property="deptname" size="50"/></td>
</tr>
    <tr>
<td width="5%"></td><td width="19%"><b><bean:message key="Personal.birthdate"/></b></td><td width="76%"><html:text property="birthdate" size="10"/>(dd/MM/yyyy)</td>
</tr>
    <tr>
<td width="5%"></td><td width="19%"><b><bean:message key="Personal.folddate"/></b></td><td width="76%"><html:text property="folddate" size="10"/>(dd/MM/yyyy)</td>
</tr>
    <tr>
<td width="5%"></td><td width="19%"><b><bean:message key="Personal.joinworkdate"/></b></td><td width="76%"><html:text property="joinworkdate" size="10"/>(dd/MM/yyyy)</td>
</tr>
    <tr>
<td width="5%"></td><td width="19%"><b><bean:message key="Personal.homeaddr"/></b></td><td width="76%"><html:text property="homeaddr" size="1000"/></td>
</tr>
    <tr>
<td width="5%"></td><td width="19%"><b><bean:message key="Personal.phone"/></b></td><td width="76%"><html:text property="phone" size="20"/></td>
</tr>
    <tr>
<td width="5%"></td><td width="19%"><b><bean:message key="Personal.mobile"/></b></td><td width="76%"><html:text property="mobile" size="20"/></td>
</tr>
    <tr>
<td width="5%"></td><td width="19%"><b><bean:message key="Personal.email"/></b></td><td width="76%"><html:text property="email" size="50"/></td>
</tr>
    <tr>
<td width="5%"></td><td width="19%"><b><bean:message key="Personal.identitycard"/></b></td><td width="76%"><html:text property="identitycard" size="20"/></td>
</tr>
    <tr>
<td width="5%"></td><td width="19%"><b><bean:message key="Personal.basepay"/></b></td><td width="76%"><html:text property="basepay" size="20"/></td>
</tr>
    <tr bgcolor="#FFFFFF">
<td width="5%"></td><td width="19%"></td><td width="76%">

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

    </td>
</tr>
  </table>
</td>
</tr>
  <tr>
<td>
<table bgcolor="#f2f2f2" height="30" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr align="right" valign="middle">
<td>

      <html:submit>
        <bean:message key="label.save"/>
      </html:submit>
      <html:cancel>
        <bean:message key="label.cancel"/>
      </html:cancel>

  </td>
</tr>
</table>
</td>
</tr>
  </table>
</td>
</tr>
</table>

</html:form>


⌨️ 快捷键说明

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