The Servers differ in their way defining basic configuration. Seems
you've found the place where the Server is told which Apps he should
take care of.
The WebApplication-mapping defines the URL-part after 8080 for locating
the App. docBase is probably the home directory of the application
relative to the home of the Server.
The Server knows by itself where classes of WebApps are located, so
there is no resaon for adding /Web-INF, but he will look for the
web.xml-file there for further information on servlets, taglibs etc.
Don't try to add a new app. Use the default one at the beginning.
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of drew w
Sent: Mittwoch, 25. April 2001 19:44
To: [EMAIL PROTECTED]
Subject: Re: [JSP-INTEREST] /examples/HelloServlet Page not found error
Ok, I just found webserver.xml in my jswdk dir:
<WebServer id="webServer">
<Service id="service0">
<WebApplication id="examples" mapping="/examples"
docBase="examples"/>
</Service>
</WebServer>
does this mean I can add new services like:
<Service id="service1">
<WebApplication id="servlets" mapping="/examples/Web-INF"
docBase="examples"/>
</Service>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets