JSP中JS弹出未登录提示框并自动跳转给你写个例子<%String username = (String) session.getAttribute("sUser")if(username!=null)如果这个不等于空,那么证明已经登录{Me2023-02-20JavaScript190