日期:2014-05-20  浏览次数:20833 次

小弟初学jsp。还请帮忙解决下啊以下的异常啊
2011-11-21 22:39:33 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Users\Administrator\AppData\Local\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin;D:\apache-tomcat-6.0.32\bin
2011-11-21 22:39:33 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8888
2011-11-21 22:39:33 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 426 ms
2011-11-21 22:39:33 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2011-11-21 22:39:33 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.32
2011-11-21 22:39:33 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor host-manager.xml
2011-11-21 22:39:33 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor manager.xml
2011-11-21 22:39:33 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory che
2011-11-21 22:39:33 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory docs
2011-11-21 22:39:33 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory mystudy
2011-11-21 22:39:33 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory ROOT
2011-11-21 22:39:33 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8888
2011-11-21 22:39:34 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2011-11-21 22:39:34 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/17 config=null
2011-11-21 22:39:34 org.apache.catalina.startup.Catalina start
信息: Server startup in 769 ms
2011-11-21 22:40:15 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
at org.apache.jsp.form_jsp._jspInit(form_jsp.java:23)
at org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:52)
at org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:164)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:338)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:619)


------解决方案--------------------
Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException 空指针异常,你就贴个异常,代码一点都没,看不出来哪里问题form.jsp