Ted Neward wrote:
> The JSWDK (jswdk1_0-win.zip, file size 759,251) I downloaded and
> installed, when given a URL of
>
> www.javageeks.com:8080/webpages/
>
> doesn't display anything--it gives a 404 error.
This has nothing to do with welcome files. The deal is that "webpages"
is mapped to the server's "/" URL path, so you don't need to put
"webpages" in your URL. It's like when servers serve files from
public_html you don't put public_html in the URL.
(Now, if you created webpages/webpages/index.html that file would be
served by the above URL.)
> www.javageeks.com:8080/examples/
>
> yields a directory listing of the "examples" subdir under the
> JSWDK-1.0 install directory.
Because "examples" is mapped to "/examples" in the XML. The JSWDK
supports multiple context mappings.
-jh-
--
Jason Hunter
[EMAIL PROTECTED]
Book: http://www.servlets.com/book
Article: http://www.javaworld.com/jw-12-1998/jw-12-servletapi.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html