易截截图软件、单文件、免安装、纯绿色、仅160KB

tomcat环境下jsp编译错误,求解! - Java / Web 开发

org.apache.jasper.JasperException: Unable to compile class for JSP: 

An error occurred at line: 52 in the jsp file: /vip_info.jsp
ÕË cannot be resolved
49: <table border="1">
50: <caption>个人信息</caption>
51: 
52: <%
53: try{
54: Class.forName("com.mysql.jdbc.Driver").newInstance();
55: 


An error occurred at line: 52 in the jsp file: /vip_info.jsp
Syntax error on tokens, delete these tokens
49: <table border="1">
50: <caption>个人信息</caption>
51: 
52: <%
53: try{
54: Class.forName("com.mysql.jdbc.Driver").newInstance();
55: 


An error occurred at line: 52 in the jsp file: /vip_info.jsp
ÐÕÃû£º cannot be resolved
49: <table border="1">
50: <caption>个人信息</caption>
51: 
52: <%
53: try{
54: Class.forName("com.mysql.jdbc.Driver").newInstance();
55: 


An error occurred at line: 52 in the jsp file: /vip_info.jsp
ÐÔ.𣺠cannot be resolved to a type
49: <table border="1">
50: <caption>个人信息</caption>
51: 
52: <%
53: try{
54: Class.forName("com.mysql.jdbc.Driver").newInstance();
5


相关问答:

mysql连接tomcat - Java / Web 开发

我已经按照教程上配置tomcat的server.xml
<Context path = "/POS" docBase = "POS" debug = "5" reloadable = "true" crossContext = "true" workDir = &quo ......

java xml文题 - Java / Java SE

<?xml version="1.0" encoding="utf-8" ?> 
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical&q ......

JSP读入数据库 - Java / Java EE

我是个新手,做一个JSP网页,我要读出数据库正常,但是我要修改的时候,也就是读入的时候出现乱码,请高手告诉我怎么解决,先谢谢了。
request.setCharacterEncoding("UTF-8");

把编码统一

/**
......

linux不能访问access - Java / Java EE

rt,我试了网上直连Acces数据库的方法,windows下没有问题,但是在linux下不行,谁能给点提示?谢谢
你怎么连的?

Acces数据库..
你怎么练的呢?

Java code:

static String DBDRIVER = "sun.jd ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号