tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Pfeiffer <>
Subject List file relative to jsp
Date Fri, 03 May 2002 18:26:51 GMT
I am running Tomcat 4.0.  I am trying to list all files and directories in a directory relative
a jsp.  Here an example:

My jsp page is at:

The directory which I want a listing of all files and directories in is at:

lets say there are 3 images with the names of image1.jpg, image2.jpg, image3.jpg. 

I want a method that would return 

when called from TestPage.jsp

Thanks for you help in advance.

Do You Yahoo!?
Yahoo! Health - your guide to health and wellness

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message