On NT you have "\\" instead "\" as file separator or use the static variable
File.separator from the package java.io to make sure you are platform
independent.

David

Rapha�l Grandjean wrote:

> 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