File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes setting a fileindex page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "setting a fileindex page" Watch "setting a fileindex page" New topic
Author

setting a fileindex page

C Lindstrom
Greenhorn

Joined: Sep 19, 2000
Posts: 8
Hi,
Have installed both Apache and Tomcat over WIN 98. Upon opening both Apache and Tomcat, entering http://localhost:8080, the Tomcat page pops up and can run the examples. So far, so good.
There is some way to enter something like - http://127.0.0.1/some directory beyond TOMCAT_HOME/
and get an index.html page that displays a list of files in the current directory, so one can navigate down through the file system.
Does anyone know how this is done? Is it grammar that I am missing, or does some .conf file need to be edited?
I checked the javaranch archive, and this subject does not appear to have been asked. If you remember seeing an answer to this question, please send the link to me.
Thanks for any help, connie lindstrom
srikanth b
Greenhorn

Joined: Dec 11, 2000
Posts: 6
Hi Lind,
you can try this ,hope can of some use.
http://127.0.0.1:8080/examples/jsp/security/protected/
this will ask for the username and password which by default is user :tomcat and the password :tomcat this will show the contents of the directory.you can go thru that sample jsp found in the webapps/examples/jsp/security/protected/index.jsp.
Regards
srikanth
Originally posted by C Lindstrom:
Hi,
Have installed both Apache and Tomcat over WIN 98. Upon opening both Apache and Tomcat, entering http://localhost:8080, the Tomcat page pops up and can run the examples. So far, so good.
There is some way to enter something like - http://127.0.0.1/some directory beyond TOMCAT_HOME/
and get an index.html page that displays a list of files in the current directory, so one can navigate down through the file system.
Does anyone know how this is done? Is it grammar that I am missing, or does some .conf file need to be edited?
I checked the javaranch archive, and this subject does not appear to have been asked. If you remember seeing an answer to this question, please send the link to me.
Thanks for any help, connie lindstrom

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: setting a fileindex page