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

📄 addemployee.jsp

📁 USB设计的一些源码!适合与USB开发的同学!还是蛮不错的!我用过一些!
💻 JSP
字号:
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>

<html>
  <head>
    <title><bean:message key="app.title" /></title>
  </head>

  <body>
    <table width="500"
      border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr bgcolor="#FFFFFF"> 
        <td height="68" width="48%"> 
          <div align="left">
            <img src="images/hp_logo_wiley.gif"
	         width="220"
		 height="74">
          </div>
        </td>
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
    </table>

    <html:errors />

    <html:form action="/Add"
      name="employeeForm"
      type="com.wiley.EmployeeForm" > 
      <table width="500" border="0">
        <tr>
          <td><bean:message key="app.username" />:</td>
          <td><html:text property="username" /></td>
          <td><bean:message key="app.password" />:</td>
          <td><html:text property="password" /></td>
        </tr>
        <tr>
          <td><bean:message key="app.name" />:</td>
          <td><html:text property="name" /></td>
          <td><bean:message key="app.phone" />:</td>
          <td><html:text property="phone" /></td>
        </tr>
        <tr>
          <td><bean:message key="app.email" />:</td>
          <td><html:text property="email" /></td>
          <td><bean:message key="app.department" />:</td>
	  <td>

	    <html:select property="depid" size="1">
              <html:option value="1">
	        <bean:message key="app.administration" />
	      </html:option>
              <html:option value="2">
	        <bean:message key="app.network" />
	      </html:option>
              <html:option value="3">
	        <bean:message key="app.sales" />
	      </html:option>
              <html:option value="4">
	        <bean:message key="app.engineering" />
	      </html:option>
            </html:select>
          
          </td>
        </tr>
        <tr>
          <td><bean:message key="app.role" />:</td>
	  <td>

	    <html:select property="roleid" size="1">
              <html:option value="1">
	        <bean:message key="app.manager" />
	      </html:option>
              <html:option value="2">
	        <bean:message key="app.employee" />
	      </html:option>
            </html:select>
          
          </td>
          <td colspan="2" align="center">
	    <html:submit /><html:cancel /><html:reset />
	  </td>
        </tr>
      </table>
    </html:form> 

  </body>
</html>

⌨️ 快捷键说明

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