baumans pascal wrote:
>
> Hello,
>
> I want to access a directory located outside the tomcat root directory.
> (example: c:\temp )
>
> Can I make a shortcut or a link for this directory ? I need to access it
> throught JSP page ...
File file = new File("C:\anywhere");
or
File temp = File.createTempFile("pattern", ".suffixe");
temp.deleteOnExit();
//the file will be created in C:\temp or /tmp, it depends on your system
--
Arnaud Vandyck <http://www.ressource-toi.org/>
- Directory baumans pascal
- Re: Directory Arnaud Vandyck
- Re: Directory baumans pascal
- Re: Directory Arnaud Vandyck
