OK, but that still doesn't answer the underlying (perhaps implied yet not
well-phrased) question--what do I need to do to get JSWDK to display
"index.html" when the directory containing it is requested? I've put an
"index.html" in the "examples" subdirectory, and when I offer a browser the
<host>/examples URL, it still gives me the directory listing, which would
indicate that it's not recognizing index.html as a "welcomefile". So what's
the deal, then?
Ted Neward
Patterns/C++/Java/CORBA/EJB/COM-DCOM spoken here
http://www.javageeks.com/~tneward
"I don't even speak for myself; my wife won't let me." --Me
-----Original Message-----
From: Jason Hunter <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, August 31, 1999 10:24 AM
Subject: Re: ? about JSWDK and "welcomefiles"
>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
___________________________________________________________________________
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