大虾们,救救小弟吧!!

liulinliu 2001-05-15 09:19:00
这是我的jsp注册的网页运行后出现的错误信息,我用的是sql2000,tomcat,jdbc-odbc桥,请专家们指点我!!我的email是piri@263.net,如能直接联系我,小弟千万分的感激
Error: 500
Location: /xbook/addUser1.jsp
Internal Servlet Error:

org.apache.jasper.JasperException: Unable to compile class for JSPerror: ???????? E:\tomcat\webapps\xbook\WEB-INF\classes\SQLException.class ??? type SQLException???? type java.sql.SQLException??????????????????????
E:\tomcat\work\localhost_8080%2Fxbook\_0002faddUser_00031_0002ejspaddUser1_jsp_0.java:254: ???? SQLException?
throw new SQLException( "id : " + util.ISO88591Togb2312( id[0] ) + " ????" );
^
E:\tomcat\work\localhost_8080%2Fxbook\_0002faddUser_00031_0002ejspaddUser1_jsp_0.java:255: class xbook.bookstore.util ?????? ISO88591Togb2312(java.lang.String)?
sqlBridge.execSQL( util.ISO88591Togb2312( "insert into users values( '" +
^
E:\tomcat\work\localhost_8080%2Fxbook\_0002faddUser_00031_0002ejspaddUser1_jsp_0.java:267: ???? SQLException?
catch( SQLException sqlex ){
^
4 ???

at org.apache.jasper.compiler.Compiler.compile(Compiler.java:254)
at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462)
at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:152)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:164)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)

...全文
53 点赞 收藏 2
写回复
2 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
liulinliu 2001-05-18
大虾,你是说删除util.ISO88591Togb2312 function
那是不是意味着将程序中所有的util.ISO88591Togb2312 function 都删除?
那try {}catch{}是不是也就不要拉
回复
emily_wang 2001-05-18
If you use tomcat, I think util package for Chinese is not necessary.
Pls. delete util.ISO88591Togb2312 function and try it.
回复
相关推荐
发帖
Web 开发
创建于2007-09-28

8.0w+

社区成员

Java Web 开发
申请成为版主
帖子事件
创建了帖子
2001-05-15 09:19
社区公告
暂无公告