NullPoint error in getRequestDispatcher(nextPage).forward

2000-12-06 Thread Haizheng Zhang

 
request.setAttribute(str,xx);
ServletContext sc = getServletConfig().getServletContext();
   
sc.getRequestDispatcher(nextPage).forward(request, response);

it seems that it could not find the Nextpage, but how should I config the
path

Thanks




problem about the path of servlet

2000-12-05 Thread Haizheng Zhang

Hi, i am new comer to tomcat world.
Now I meet a problem. After I config and start the tomcat, when I execute
the servlet examples. It doesn't work. I check the log files, and it reads 
can't find the class. 
But the class files is right in the web-inf/classes directory, And I tried
snoop, it doesn't work too. also it reads can't find snoop servlet.

WHo can help me