?? login.jsp
字號:
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@ taglib prefix="spring" uri="/spring" %>
<html><head>
<title>Login to Spring Example Account Banking</title></head>
<body>
<h1>請輸入用戶名和密碼.</h1>
<p><form method="post">
<spring:bind path="loginCommand">
<c:forEach items="${status.errorMessage}" var ="errorMessage">
<font color="red">
<c:out value ="${errorMessage}"/><br>
</font>
</c:forEach>
</spring:bind>
<table width="95%" >
<tr>
<td alignment="right" width="20%">用戶名:</td>
<spring:bind path="loginCommand.userId">
<td width="20%">
<input type="text" name="<c:out value="${status.expression}"/>" value="<c:out value="${status.value}"/>">
</td>
</spring:bind>
<td width="60%">
</tr>
<tr>
<td alignment="right" width="20%">密碼:</td>
<spring:bind path="loginCommand.password">
<td width="20%">
<input type="password" name="<c:out value="${status.expression}"/>" value="<c:out value="${status.value}"/>">
</spring:bind>
</td>
<td width="60%">
</tr>
</table>
<br>
<br>
<input type="submit" alignment="center" value="login">
</form>
</p>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -