从新手到高手,新手的郁闷,请各位高手告诉告诉我吧!!!

新手的郁闷,请各位高手告诉告诉我吧!!! - 故障解答 - 电脑教程网

新手的郁闷,请各位高手告诉告诉我吧!!!

日期:2006-04-04   荐:
新手的郁闷,请各位高手告诉告诉我吧!!!我重光盘上复制下来一套简单代码,我打算运行它我把环境都设置好了把tomcat启动把数据源设置好,可以输入用户名以后点击登陆,出现这样的问题description The server encountered an internal error () that prevented it from fulfilling this request.exception org.apache.jasper.JasperException: Unable to compile class for JSPAn error occurred at line: 5 in the jsp file: /forum/chklogin.jspGenerated servlet error: [javac] Compiling 1 source fileC:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\_\forum\chklogin_jsp.java:49: package connection does not exist connection.ConnPool pool = null; ^An error occurred at line: 5 in the jsp file: /forum/chklogin.jspGenerated servlet error:C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\_\forum\chklogin_jsp.java:51: package connection does not exist pool = (connection.ConnPool) pageContext.getAttribute("pool", PageContext.APPLICATION_SCOPE); ^An error occurred at line: 5 in the jsp file: /forum/chklogin.jspGenerated servlet error:C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\_\forum\chklogin_jsp.java:54: package connection does not exist pool = (connection.ConnPool) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "connection.ConnPool"); ^3 errors我看好象是什么连接池的问题!我该如何解决哪??请高手告诉告诉我吧!谢谢了!自己顶一下把代码贴上来看看应该是你的环境没有设置好!!说说你的环境是怎么设置的。建议你先用下面的代码试试看环境有没有问题<%@ page contentType="text/html;charset=gb2312" %> <% out.println("这是我的第一个jsp程序");%>你能不能把原代码贴上。
标签: