OVH Cloud OVH Cloud

How to retrieve all files of a webApplication directory with HTTP

1 réponse
Avatar
maisonborniol
All,

I would like to retrieve the list of all file of a directory by Http
URL. The directory is in the webapplication directory.

In fact I would like to do that :

Enumeration enum = find(/myApplication/com.icons/*.gif);

How can do that please ?

1 réponse

Avatar
Isammoc
(MaisonBorniol) écrivait
news::

All,

I would like to retrieve the list of all file of a directory by Http
URL. The directory is in the webapplication directory.

In fact I would like to do that :

Enumeration enum = find(/myApplication/com.icons/*.gif);

How can do that please ?



A link is better than too much words:
http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html#listFiles()

--
Isammoc
Scuse me for bad english, but this is a french language newsgroup...