📄 check.jsp
字号:
<%@ page contentType="text/html; charset=GB2312" %>
<%@ page session="true" %>
<html>
<head>
<title>
checkUser
</title>
</head>
<body>
<h1>Welcome to JNEstore Shop</h1>
<%
String name=null;
name=request.getParameter("username");
if(name!=null)session.setAttribute("username",name);
%>
<a href="<%=response.encodeURL("browse.jsp")%>">购物</a>
<a href="<%=response.encodeURL("logout.jsp")%>">注销</a>
<p>当前用户为:<%=name%> </P>
请单击购物按钮进入购物页面
<P></P>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -