jsp登陆验证问题
org.apache.jasper.JasperException: An exception occurred processing JSP page /basic/admin/check.jsp at line 34
31: <%MD5_Test md5=new MD5_Test();
32: String rand = (String)session.getAttribute("rand");
33: String input = request.getParameter("rand");
34: if(rand.equals(input)) {
35: String message="",logname="",password="";
36: if(!(session.isNew())){
37: logname=request.getParameter("logname");
------解决方案--------------------An exception occurred processing JSP page后面还有信息呢?到底是啥异常啊?
最大的可能 rand==null 呵呵,这个最普遍的异常了
改成
if(rand!=null && rand.equals(input)) {
------解决方案--------------------我的异常网推荐解决方案:An exception occurred processing JSP page,http://www.aiyiweb.com/j2se/33144.html