在用dreamweaver做网页时,加入服务器行为后,预览页面出现以下错误,哪位好心人帮忙解答一下啊!急!!!
HTTPStatus500------------------------------------------------------------------------...
HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 22 in the jsp file: /System/html/login.jsp
MM_conn1_DRIVER cannot be resolved
19: String MM_redirectLoginSuccess="default.html";
20: String MM_redirectLoginFailed="login.html";
21: String MM_redirectLogin=MM_redirectLoginFailed;
22: Driver MM_driverUser = (Driver)Class.forName(MM_conn1_DRIVER).newInstance();
23: Connection MM_connUser = DriverManager.getConnection(MM_conn1_STRING,MM_conn1_USERNAME,MM_conn1_PASSWORD);
24: String MM_pSQL = "SELECT username, password";
25: if (!MM_fldUserAuthorization.equals("")) MM_pSQL += "," + MM_fldUserAuthorization;
我用的是tomcat6.0服务器 展开
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 22 in the jsp file: /System/html/login.jsp
MM_conn1_DRIVER cannot be resolved
19: String MM_redirectLoginSuccess="default.html";
20: String MM_redirectLoginFailed="login.html";
21: String MM_redirectLogin=MM_redirectLoginFailed;
22: Driver MM_driverUser = (Driver)Class.forName(MM_conn1_DRIVER).newInstance();
23: Connection MM_connUser = DriverManager.getConnection(MM_conn1_STRING,MM_conn1_USERNAME,MM_conn1_PASSWORD);
24: String MM_pSQL = "SELECT username, password";
25: if (!MM_fldUserAuthorization.equals("")) MM_pSQL += "," + MM_fldUserAuthorization;
我用的是tomcat6.0服务器 展开
2个回答
展开全部
HTTP状态500 -
-------------------------------------------------- ------------------------------
类型的异常报告
消息
描述服务器遇到一个内部错误()来阻挡履行这一请求。
异常
org.apache.jasper.JasperException:无法编译JSP类:
发生错误行:22在JSP文件中:/系统/的HTML / login.jsp的
MM_conn1_DRIVER不能得到解决
19:弦乐MM_redirectLoginSuccess =“Default.html中”;
20:弦乐MM_redirectLoginFailed =“login.html”;
21:弦乐MM_redirectLogin = MM_redirectLoginFailed;
22:驱动MM_driverUser =(司机)Class.forName(MM_conn1_DRIVER)的newInstance();。
23:连接MM_connUser = DriverManager.getConnection(MM_conn1_STRING,MM_conn1_USERNAME,MM_conn1_PASSWORD);
24:弦乐MM_pSQL =“选择用户名,密码”;
!25:如果(MM_fldUserAuthorization.equals ("")) MM_pSQL + =“,”+ MM_fldUserAuthorization;
—————————————————————————————————————————— 百度虫子
-------------------------------------------------- ------------------------------
类型的异常报告
消息
描述服务器遇到一个内部错误()来阻挡履行这一请求。
异常
org.apache.jasper.JasperException:无法编译JSP类:
发生错误行:22在JSP文件中:/系统/的HTML / login.jsp的
MM_conn1_DRIVER不能得到解决
19:弦乐MM_redirectLoginSuccess =“Default.html中”;
20:弦乐MM_redirectLoginFailed =“login.html”;
21:弦乐MM_redirectLogin = MM_redirectLoginFailed;
22:驱动MM_driverUser =(司机)Class.forName(MM_conn1_DRIVER)的newInstance();。
23:连接MM_connUser = DriverManager.getConnection(MM_conn1_STRING,MM_conn1_USERNAME,MM_conn1_PASSWORD);
24:弦乐MM_pSQL =“选择用户名,密码”;
!25:如果(MM_fldUserAuthorization.equals ("")) MM_pSQL + =“,”+ MM_fldUserAuthorization;
—————————————————————————————————————————— 百度虫子
追问
怎么解决啊!英文我是能看的懂,但是不知该如何解决问题啊
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
数据库连接问题吧
追问
谢谢啊 !我又新建了一个连接,问题解决了!其实和先前也没有区别的,但是就莫名其妙的好了!
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询