Re: servletcontext weird nullpointerexception

2003-07-02 Thread Tim Funk
In your Servlet's init(...) make sure your call super.init(...) -Tim Mathias af Jochnick wrote: Hello all, I have a Servlet that I've setup in the /conf/web-xml file, i.e. not in a web-app. It works fine, except for that when I in the doGet() method call getServletContext(), tomcat throws a null

Re: servletcontext weird nullpointerexception

2003-07-02 Thread Minimalist Manager
ERROR: There is no such list WEIRD here. SOLUTION: Send a message to [EMAIL PROTECTED] with a subject of 'info' (no quotes) for a list of available mailing lists. -- Sincerely, the Minimalist - To unsubscribe, e-mai

Re: servletcontext weird nullpointerexception

2003-07-02 Thread Minimalist Manager
ERROR: There is no such list WEIRD here. SOLUTION: Send a message to [EMAIL PROTECTED] with a subject of 'info' (no quotes) for a list of available mailing lists. -- Sincerely, the Minimalist - To unsubscribe, e-mai

servletcontext weird nullpointerexception

2003-07-02 Thread Mathias af Jochnick
Hello all, I have a Servlet that I've setup in the /conf/web-xml file, i.e. not in a web-app. It works fine, except for that when I in the doGet() method call getServletContext(), tomcat throws a nullpointerexception! java.lang.NullPointerException at javax.servlet.GenericServlet.getServ