- From: Benoit Mahe <Benoit.Mahe@sophia.inria.fr>
- Date: Wed, 10 Dec 1997 08:54:58 +0100
- To: Paul Walker <Paul_Walker@pegasus.us.dell.com>
- cc: "www-jigsaw@w3.org" <www-jigsaw@w3.org>, Benoit.Mahe@sophia.inria.fr
> Can anyone provide help on using servlets with beta1 ? > I am on a win32 platform, compiled the servlet patches previously posted > to this list, > and updated my classes.zip file. I was successful in creating a > ServletDirectory resource > and creating a ServletWrapper (called SimpleService) for the > SimpleServlet.class > that comes with Sun's jsdk. I seem to be having troubles with the > mandatory servlet-class > attribute. The docs indicate this should be a subclass of > java.servlet.Servlet. > If I put SimpleServlet.class there with the resouce editor I get a > browser error of No Data. Do you have any exception in the trace? > If I try paths or URLs I get a "Servlet not configured > properly" error. Probably because the LocalServletLoader doesn't find you servlet class. > > Can anyone help me get this working ? Your servlet class must be in the CLASSPATH OR in the servlet directory. You just have to put SimpleServlet or SimpleServlet.class in the servlet-class attribute. If it still doesn't work please describe us your configuration of ServletDirectory and ServletWrapper. - Benoît Mahé ------------------------------------------------------- World Wide Web Consortium (W3C) Architecture domain - Jigsaw Team http://www.w3.org/People/Mahe - bmahe@w3.org - +33.4.93.65.79.89 ---------------------------------------------------------------------
Received on Wednesday, 10 December 1997 02:55:36 UTC