Thought I'd reply to both Craig and the list, just to bring closure to the
issue.
>> 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?
>>
>
>Hmm, I just did the same thing and it worked fine. I created a dummy index
>file in:
>
> $JSWDK_HOME/examples
>
>and, after I did that, either of the following URLs correctly displayed my
>index file instead of the directory like they used to.
>
> http://localhost:8080/examples
>
> http://localhost:8080/examples/
>
>Are you sure you didn't modify the examples/WEB-INF/webapp.properties to
remove
>the "welcomefiles" property? Did your "index.html" file show up in the
>directory listing that was displayed (if not, it might be a file
permissions
>problem)?
>
Actually, the problem wasn't in the .properties files themselves, it was
where they were located; I had them in the top-level directory, instead of
in the WEB-INF directory. Once that was established, my "index.html" file in
my custom webapp worked perfectly, as it did when I created a simple
"index.html" file in the examples directory, as Craig described above.
Once again, the issue was with the user, not the software. :)
>For the record, this is JSWDK 1.0 final release, Linux (RH 6.0), and the
>IBM 1.1.6 JVM -- although I doubt any of that makes any difference.
>
Also for the record, this was JSWDK 1.0 final release, Linux (RH 5.2), and
the Blackdown JDK 1.2-pre3 release, although, as Craig noted, it didn't make
any difference in getting everything to work.
Thanks, Craig, for your assistance.
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
___________________________________________________________________________
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