Normally, in a web server, if a given file in a directory is marked
"index.html" (or similarly-named, site-configurable filenames), that file
will be used as the "default" HTML document sent back to the user when just
the directory name is given (that is,
http://www.javageeks.com/foo/bar/blah/index.html will be returned when
http://www.javageeks.com/foo/bar/blah is requested).

With JSWDK, this doesn't appear to be the case.

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. Now, "webpages", presumably
the webapp for the "webpages" directory under the JSWDK-1.0 directory, also
isn't defined in the webserver.xml file, either; perhaps this is an
oversight, perhaps not. However, doing the same with the "examples" webapp,

www.javageeks.com:8080/examples/

yields a directory listing of the "examples" subdir under the JSWDK-1.0
install directory.

What gives? The "webapp.properties" file has a setting, "welcomefiles", that
would seem to indicate this functionality is doable, yet none of the samples
seem to use it; the default JSWDK home page, for example, HREFs directly to
examples/servlets/index.html or examples/jsp/index.html. Is this a bug, or a
feature, or just an oversight, or what? Has anybody gotten this to work
correctly?

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

Reply via email to