Directory Listing

2001-07-27 Thread Juan Fuentes
I have an application with directory-browing=allow. When I request for a directory, orion displays a page with the directory list. How could I write a JSP/Servlet to customize this list ?? TIA -- ยทยท Juan Fuentes Nieto

Re: Directory Listing

2001-07-27 Thread Oisin Kim
want, Oisin // DirList.java // Displays directory listing. /** DirList.java lists the contents of teh current directory * by running it as java DirList after compiling it. */ import java.io.*; import java.util.*; public class DirList { public static final String foldername = C:\\somedir

Re: Directory Listing

2001-07-27 Thread Nick Newman
You could use the java.net.URL class from your servlet to get the directory listing that is produced. Then you can process that however you like. The snag is that you would have to have the servlet at a different URL. In other words, if http://foo.com/ gives you the directory listing, you