[Advanced-java] FileOutputStream & real path
Mike Curtis
mike at mullsoft.co.uk
Thu Jul 24 19:40:16 2003
---------------------- multipart/mixed attachment
At 19:14 24/07/2003 +0200, Marco Ferretti wrote:
> since I create the file as new FileOutPutStream(basepath +"img/"+
>fileName)
>
>FileOutPutStream("C:\Program Files\Apache\Tomcat\webapps\yourApp\img/"+
>fileName) .
>
>Do you think the extra space between Program and Files give me problems ?
The space is no problem, but you should use "img" + File.separator instead
of "img/"
regards
Mike
---------------------- multipart/mixed attachment
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.502 / Virus Database: 300 - Release Date: 18/07/2003
---------------------- multipart/mixed attachment--