??Web??????????????????????????
???????????? ???????[ 2016/3/15 11:23:36 ] ??????????????? WEB????
??????????????Web?????????????????Щ????????????errors??????Щ????????????
??????д??Web??????У?????????д???“?????????”????????????????????????????????????????????????????????????????????????????????
????Error:????????????У?????????URL???????????????????????????????????????檔???????????????????URL??????????????????檔
?????????????
??????checkadmin.jsp?У????index.jsp????????????????????????????????name?????session??true???????admin.jsp?У?????name??????????????“δ??????”????check??null???????????index.jsp???????檔
if(Aname.equals(rs.getString("name")) && Apassword.equals(rs.getString("passwd")))
{
//session.setAttribute("name"??"1");
request.getSession().setAttribute("name"??"true");
response.sendRedirect("admin.jsp");
judge = false;
}
<% Object check = request.getSession().getAttribute("name");
if(check==null||check==""){
response.sendRedirect("index.jsp");} %>
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11