?? addemployee.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> </td>
</tr>
<tr>
<td height="68" width="48%">
<div align="left">
<img src="images/wxmainlogowhitespace.gif">
</div>
</td>
</tr>
<tr>
<td> </td>
</tr>
</table>
<html:errors />
<html:form action="/Add"
name="employeeForm"
type="com.wrox.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 + -