You must escape the \ with another \ e.g.
FileInputStream("D:\\FtpRoot\\Havas\\citation\\data1.txt");

> -----Original Message-----
> From: Rapha�l Grandjean [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 18, 2000 6:22 PM
> To: [EMAIL PROTECTED]
> Subject: Probleme
>
>
> I have a probleme with a servlet:
>
> I use the the FileInputStream and FileOutputStream and I have an error
> I run these servlet under NT
>
> FileInputStream fic1 = new
> FileInputStream("D:\FtpRoot\Havas\citation\data1.txt");
> My error is invalid escape character
> perhaps I must replace the "\" by another character
> Thanks for the response
>
> ______________________________________________________________
> _____________
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources:
> http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to