歡迎進(jìn)入登錄界面

用戶名:

3、="width:148px;"/>

密  碼:

    

4、"style="height:43px;"/>    

dlhou.jsp<%@pagecontentType="text/html;charset=gb2312"%><%@pagelanguage="java"import="java.sql.

5、*"%>登錄狀態(tài)登錄狀態(tài)



<%StringuserN=request.getParameter("UserN");StringuserP=request.getParameter("UserP");//out.print(us

6、erN);Stringsql="select*fromyxxwhereyname='"+userN+"'";SQLbean.OpenConn();ResultSetrs=SQLbean.executeQuery(sql);if(!rs.next()){%><%}//while(rs.next())else{Stringp=rs.getString("ypassword").trim();if(p.equals

7、(userP.trim()))//response.sendRedirect("zhu.jsp?param="+userN);{session.setAttribute("yhm",userN);//response.sendRedirect("zhu.jsp");%><%}else{%>