在application中完全可以读的数据,我还开发过小系统。就是不能用JSP来读数据库的数据!
exception
org.apache.jasper.JasperException
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
java.lang.NullPointerException
org.apache.jsp.vote.index_jsp._jspService(index_jsp.java:74)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
我在论坛发过个贴,里面还有源代码啊,给你找找
http://www.bc-cn.net/bbs/dispbbs.asp?boardid=12&replyid=244011&id=77455&page=1&skin=0&Star=1
[此贴子已经被作者于2006-9-3 18:31:02编辑过]
我刚刚用NetBeans把文件从新运行了下,还是出现了错误。我也认为是服务器没配置好。我也不知道该怎么弄了
你能给我个配置的具体方法吗?我在用你的方法配置下。OK?Thanks