📄 loginhandler.jsp
字号:
<%
String username = request.getParameter("username");
String password = request.getParameter("password");
if ((username.equalsIgnoreCase("wrox")) &&
(password.equalsIgnoreCase("wrox"))) {
out.println("<H3>MAIN MENU</H3>");
out.println("<A href=getphonelist.jsp>Get Employee Phone No. List</a>"
+ "<BR>");
out.println("<A href=getsortedphonelist.jsp>"
+ "Get Sorted Phone No. List (Sorted by EmployeeName)</a>"
+ "<BR>");
out.println("<A href=search.jsp>Search for Phone No. List</a>"
+ "<BR>");
} else {
out.println("UserName/Password combination is incorrect !!!");
out.println("<a href=login.jsp>Try Again</a>");
}
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -