📄 cookie.jsp
字号:
<%@ page contentType="text/html;charset=GBK"%>
<%@ page import ="com.bcxy.bbs.util.GCookie,
com.bcxy.bbs.forum.*,
java.util.Hashtable"%>
<%
String username = GCookie.getCookieValue(request,"UJBBUName",null);
String password = GCookie.getCookieValue(request,"UJBBUPSW",null);
if(username==null||password==null){
out.println("转向登陆地页面");
response.sendRedirect("login.jsp");
}else{
response.sendRedirect("checklogin.jsp?username="+username+"&password="+password);
}
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -