JSP: Afficher des informations sur le repertoire actuel

Author:





pwd -- print working directory (aka where r u?)


informations sur le repertoire actuel

<%   java.io.File f = new java.io.File(".");  %>

Répertoire courant <%= f.getCanonicalPath() %>

Listing:

    <%    String[] list = f.list();   for (int i=0; i" + list[i]);   }  %>
                   

Leave a Reply

Your email address will not be published. Required fields are marked *