---------------------------------------------------------------- BEFORE YOU POST, search the faq at <http://java.apache.org/faq/> WHEN YOU POST, include all relevant version numbers, log files, and configuration files. Don't make us guess your problem!!! ---------------------------------------------------------------- Hi, I am using Apache 1.3.9, mod-ssl, OpenSSL, ApacheJServ1.1b3, jsdk2.1 under Window-NT to run the servlets. I am trying to access the another servlet thru RequestDispatcher object. I have a servlet named TestPwd.class with the following part of code as RequestDispatcher dispatcher = getServletContext().getRequestDispatcher("/servlets/IsItWorking.class"); if (dispatcher == null) { out1.println("<body>dispatcher is null</body>"); res.sendError(res.SC_NO_CONTENT); } I receive the following error message on the browser, Error Message :"Errors occurred during execution of your requests. Please review the error messages. If you cannot correct the errors, talk to your web system administrator." In the jserv.log file, I see the following error info: [07/01/2000 09:26:35:903 PST] java.lang.NullPointerException: at javax.servlet.GenericServlet.getServletContext(GenericServlet.java:201) at javax.servlet.GenericServlet.log(GenericServlet.java:319) at javax.servlet.GenericServlet.destroy(GenericServlet.java:105) at org.apache.jserv.JServServletManager.destroyServlet(JServServletManager.jav a, Compiled Code) at org.apache.jserv.JServServletManager.destroyServlets(JServServletManager.ja va, Compiled Code) at org.apache.jserv.JServServletManager.checkReload(JServServletManager.java:4 16) at org.apache.jserv.JServConnection.processRequest(JServConnection.java:255) at org.apache.jserv.JServConnection.run(JServConnection.java:188) at java.lang.Thread.run(Thread.java:479) If I comment the above code, my servlet gets executed. The same is happening, if I run the servlet under jsdk2.1 server (jsdk provides the small server which run on port 8080). Can some one give me a clue on what to do, thanks and regards Naga -- -------------------------------------------------------------- Please read the FAQ! <http://java.apache.org/faq/> To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Archives and Other: <http://java.apache.org/main/mail.html> Problems?: [EMAIL PROTECTED]