jbuilder下开发的jsp工程怎样移植到tomcat下
在jbuilder下写的war包,放到tomcat的webapps下可以自动解压,但是运行以后产生错误
exception
org.apache.jasper.JasperException org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
java.lang.NullPointerException org.apache.jsp.board.index_jsp._jspService(index_jsp.java:150)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
但是我在jbuilder下运行是可以的,不知道是怎么回事,请大家帮帮我
------解决方案--------------------这个不是工程的问题,是代码的问题,应该是缺少数据产生的
------解决方案--------------------java.lang.
NullPointerException ========================
都抛出异常了,你的代码有问题,仔细检查修改吧