Hello All,

I am trying to run a jsp file using Tomcat3.2.1 . I hv created a seprate
directory for my jsp files and hv made it's entry in the server.xml file.
When ever I try to run any jsp file or start the server, I got the following
error.

Error: 500
Location: /purejsp/Hello.jsp
Internal Servlet Error:

java.lang.NullPointerException:
 at org.apache.tomcat.util.FileUtil.isAbsolute(FileUtil.java:289)
 at org.apache.tomcat.core.Context.getAbsolutePath(Context.java:257)
 at org.apache.tomcat.core.Context.getRealPath(Context.java:791)
 at
org.apache.tomcat.facade.ServletContextFacade.getRealPath(ServletContextFaca
de.java:136)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java, Compiled
Code)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
 at org.apache.tomcat.core.Handler.service(Handler.java:286)
 at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
 at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
 at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
 at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)
 at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java,
Compiled Code)
 at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java,
Compiled Code)
 at java.lang.Thread.run(Thread.java:479)

Could anyone pls let me know the solution to this ?

Thanks In Advance
Yogesh

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to