?? login2.jsp
字號:
<%@ page contentType="text/html;charset=GB2312" %>
<%
//得到上下文路徑,對于Servlet 2.5規范,還可以使用下面注釋中的代碼
//String path = application.getContextPath();
String path = request.getContextPath();
%>
<html>
<head><title>登錄頁面</title></head>
<body>
<form method="post" action="<%=path %>/controller">
<input type="hidden" name="action" value="login">
用戶名:<input type="text" name="name"><br>
密碼:<input type="password" name="password"><p>
<input type="reset" value="重填">
<input type="submit" value="登錄">
</form>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -