Hi David.
You need to have the Servlet API in your class path. It is found
in servlet-2.3.jar, for example, which is located in the lib directory
of your xindice distribution.
On how to use this ServletWebServer, see the docs:
http://ws.apache.org/xmlrpc/apidocs/org/apache/xmlrpc/webserver/ServletWebServer.html
I think you are correct saying that this class is the "container".
You just need one concrete servlet to work with it.
Georg
David Frey wrote:
Hi all,
I'm trying to use the ServletWebServer, however when I try to instanciate
it, i get the following error:
The type javax.servlet.http.HttpServlet cannot be resolved. It is indirectly
referenced from required .class files
Searching the internet I only found out that "the servlet container should
provide the implementation" of the servlet-api. Isn't the ServletWebServer
the container I'm using? Or should I take an implementation of HttpServlet
from tomcat or the like?
Thanks in advance for any answer.
david