tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject Re: web-inf directory
Date Thu, 23 Jan 2003 19:35:59 GMT


On 23 Jan 2003, Felipe Schnack wrote:

> Date: 23 Jan 2003 14:55:02 -0200
> From: Felipe Schnack <felipes@ritterdosreis.br>
> Reply-To: Tomcat Users List <tomcat-user@jakarta.apache.org>
> To: Tomcat Users List <tomcat-user@jakarta.apache.org>
> Subject: web-inf directory
>
>   Hey guys...
>   I was wondering, how can make my servlet, for instance, list all files
> in its application WEB-INF directory?
>

See ServletContext.getResourcePaths() in the Javadocs.  Servlet 2.3 or
later only (i.e. Tomcat 4.x and up).

> --
>
> Felipe Schnack

Craig




--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message