Topic: 请教一个JSP的问题( ';' expected)

  Print this page

1.请教一个JSP的问题( ';' expected) Copy to clipboard
Posted by: garyt
Posted on: 2005-05-15 15:37

请尽量用准确的文字描述作为标题
Please post on the appropiate board.

Check whether ; is missing on the statement previous to this line or this block.
This is something very basic that one should be able to sort out with some effort.


在打开测试连接MYSQL数据的页面时,返回这样的错误,是什么意思啊?谢谢

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: 5 in the jsp file: /test.jsp
Generated servlet error:
D:\Tomcat 5.0\work\Catalina\localhost\_\org\apache\jsp\test_jsp.java:50: ';' expected
Connection conn=DriverManager.getConnection(url);
^
1 error

2.Re:请教一个JSP的问题( ';' expected) [Re: garyt] Copy to clipboard
Posted by: beipanjiyi
Posted on: 2005-05-16 17:02

把你的jsp文件传上来


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923