-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
DBD,
On 7/16/2011 10:46 AM, Dark Before Dawn wrote:
> Since I have no exposed filesystem getRealPath will return null. So
> I tried to use getResourceAsStream wich works fine for files but not
> for directories.
Are you sure you want to do this?
> M
On 16 Jul 2011, at 15:46, Dark Before Dawn wrote:
> Hi there,
>
> I am trying to list files and directories within an war-file i.e
> images/summer2010 images/winter2010. The war-file is deployed on a tomcat 7
> instance with unpackWARs="false".
> Since I have no exposed filesystem getRealPath w
Hi there,
I am trying to list files and directories within an war-file i.e
images/summer2010 images/winter2010. The war-file is deployed on a
tomcat 7 instance with unpackWARs="false".
Since I have no exposed filesystem getRealPath will return null. So I
tried to use getResourceAsStream wich w