Peter: I think you answered your own question...you said that you're looking for a default web application and you don't want do define each servlet in web.xml. First there is a default web application - ROOT under webapps folder in tomcat. Any servlet class files you dump under \webapps\ROOT\WEB-INF\classes can be referred to, just as you said /servlet/HelloWorldServlet for example. If it's a package'd servlet class you refer to it as /servlet/packagename.HelloWorldServlet. Point being , for the default ROOT web application all you need is a / in your URI (URL) leading to your servlet via the invoker servlet. Second: You don't need to have any servlet element(s) in your web.xml. It's completely optional, unless you want to create alias, parameters etc. Hope this helped
Dear Madan, I got this advice too at the cattle-drive. The JDBC-assignment is running fine using the orion-server, where the classes are indeed in the directory correspondent what you said. Copying my 'greetings' file to ROOT, works. (creating WEB-INF/classes/) and copying the Servlet-class-files (called by /servlet/"serveletname") gives a fine errormessage: The requested resource is not available.
This is/was the reason of my question. So tomcat somewhere 'must' be told that the servelets in "tomcat"/webabs/ROOT/WEB-INF/classes/*.class should be found e.g. from a WELCOME.HTML
Peter: I also run the same thing from jwsdp_1_0_01, along with standalone tomcat 4.0.1 while your server is running, did you try this URL http://localhost:8080/manager/list If the output from this URL says that the ROOT webapp is running, then you should be able to acces your servlets. Do post back whether your ROOT app was running or not. Thanks