Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Database/JDBC/SQL/JDO/Hibernate  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 Re:JSP连接SQL2000问题 [Re:bishan]
bishan





发贴: 7
积分: 0
于 2006-05-07 22:26 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
按照大家的建议,我又检查了几遍测试程序,发现忘记改用户密码了,可改后用上面程序测试又出现了另外的错误:
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: 16 in the jsp file: /sql_test.jsp

Generated servlet error:
[javac] Compiling 1 source file

D:\Tomcat\work\Standalone\localhost\_\sql_test_jsp.java:66: illegal character: \12288
??rs.close();
^

An error occurred at line: 16 in the jsp file: /sql_test.jsp

Generated servlet error:
D:\Tomcat\work\Standalone\localhost\_\sql_test_jsp.java:67: illegal character: \12288
??stmt.close();
^

An error occurred at line: 16 in the jsp file: /sql_test.jsp

Generated servlet error:
D:\Tomcat\work\Standalone\localhost\_\sql_test_jsp.java:68: illegal character: \12288
??conn.close();
^

An error occurred at line: 19 in the jsp file: /sql_test.jsp

Generated servlet error:
D:\Tomcat\work\Standalone\localhost\_\sql_test_jsp.java:69: illegal character: \12288
????
^

An error occurred at line: 19 in the jsp file: /sql_test.jsp

Generated servlet error:
D:\Tomcat\work\Standalone\localhost\_\sql_test_jsp.java:69: illegal character: \12288
????
^
5 errors

  at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85)
  at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:248)
  at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:315)
  at org.apache.jasper.compiler.Compiler.compile(Compiler.java:328)
  at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:427)
  at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:142)
  at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240)
  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)
  at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
  at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
  at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
  at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
  at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
  at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
  at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
  at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
  at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
  at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
  at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
  at java.lang.Thread.run(Thread.java:534)
我是个新手,有好多问题都不懂,望大家多多帮忙,谢谢大家!!!

--------------------------------------------------------------------------------




求助:java程序易死机原因

话题树型展开
人气 标题 作者 字数 发贴时间
12399 JSP连接SQL2000问题 bishan 3582 2006-05-07 15:54
10078 Re:JSP连接SQL2000问题 scottlai 13 2006-05-07 17:51
10073 Re:JSP连接SQL2000问题 why 15 2006-05-07 19:09
10168 Re:JSP连接SQL2000问题 bishan 4730 2006-05-07 22:26
9967 Re:JSP连接SQL2000问题 K_P_exciting 30 2006-05-19 21:25
9940 Re:JSP连接SQL2000问题 bishan 21 2006-05-22 17:51
10948 Re:JSP连接SQL2000问题 heartache 167 2006-06-02 21:36

flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   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