ID:62428512
大?。?3.50 KB
頁數:7頁
時間:2021-05-04
6、out.print(userN);Stringsql="select*fromyxxwhereyname='"+userN+"'";SQLbean.OpenConn();ResultSetrs=SQLbean.executeQuery(sql);if(!rs.next()){%><%}//while(rs.next())elsel.....{Stringp=rs.getString("ypassword")
7、.trim();if(p.equals(userP.trim()))//response.sendRedirect("zhu.jsp?param="+userN);{session.setAttribute("yhm",userN);//response.sendRedirect("zhu.jsp");%><%}else{%><%}}rs.close();SQLbean.closeSt();SQLbean.closeConn();%>
此文檔下載收益歸作者所有