tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Create FileInputStream in servlet from remote file with accentuated character name
Date Tue, 22 Sep 2009 19:41:39 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

André,

On 9/22/2009 3:24 PM, André Warnier wrote:
> Ok, then we need Christopher's Java knowledge now.

Or you could look at the API ;)

> Christopher, how does one, in Java, read a directory item by item ?

See my other message on this thread which includes source code to do
just that.

> And (just to anticipate the next issue), Sylvie, does your program
> actually need to read the content of the file and do something with that
> content ?

Yeah, remember to use a Reader and specify the character encoding.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkq5KHMACgkQ9CaO5/Lv0PBmwgCfSkP+muADl9MZz8wBoGyr2509
jloAoIqaM5pl46EV7PQyhVA2G3pXiCJl
=5MnR
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message