我用的是JDK+tomcat的环境配置
然后在浏览器中测试http://localhost/8080也正常
然后我下了个JSP源代码
可是总调试不出来,而且提示:这是什么意思啊???
HTTP Status 500 - --------------------------------------------------------------------------------type Exception reportmessage description The server encountered an internal error () that prevented it from fulfilling this request.exception java.lang.NullPointerException
bean.DBClass.executeQuery(DBClass.java:109)
ShowBook.doGet(ShowBook.java:177)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.
下载的源代码怎样才能调试出来呢?好像还得进行很多设置吧,我刚学了两天,还什么都不知道呢?