display links to all files in a folder
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Chris_MacLeavy
Posted On:   Friday, August 15, 2003 09:51 PM

I have a created a web page that displays links to weekly newsletters. The newsletters are located in a folder called "newsletters" in the same directory as the html files.



I would like to loop through this folder, retrieve & display filenames from this folder (hyperlinked, of course) on the webpage.



The idea here is that there would be no need to update the page when a new newsletter is created, but rather, staff can simply place a copy of the current newsletter into the folder.



Can anyone help me with the code?

Re: display links to all files in a folder

Posted By:   Brian_Glodde  
Posted On:   Saturday, August 16, 2003 10:27 AM

You'll need to look to the server side to get that information. Javascript is a client side language. Check out the java.io package.
About | Sitemap | Contact