Commons.net.ftp.FTPClient.listFiles() and file names with 'é'

2007-02-02 Thread Millet Regis
Hello! I have a problem with the file with accents I have one named blé.txt, but in the filenames list, it is renamed in bl?.txt (i cannot copy-paste the correct symbol, so i put a ? Instead) Here is my source code, where oFTPClient is a FTPClientInstance, connected to my FTP repository

Re: Commons.net.ftp.FTPClient.listFiles() and file names with 'é'

2007-02-02 Thread Rory Winston
You can set the encoding used by invoking ftpClient.setControlEncoding() with the name of the desired encoding you wish to use. Rory Jakarta Commons Users List commons-user@jakarta.apache.org wrote: --_=_NextPart_001_01C746D1.E0ECD0CE Content-Type: text/plain; charset=iso-8859-1

Re: Commons.net.ftp.FTPClient.listFiles() and file names with 'é'

2007-02-02 Thread Rory Winston
You can set the encoding used by invoking ftpClient.setControlEncoding() with the name of the desired encoding you wish to use. Rory Jakarta Commons Users List commons-user@jakarta.apache.org wrote: --_=_NextPart_001_01C746D1.E0ECD0CE Content-Type: text/plain; charset=iso-8859-1

RE: Commons.net.ftp.FTPClient.listFiles( ) and file names with 'é'

2007-02-02 Thread Millet Regis
Thank you But is there a way to know the caracter enconding used? The files are sent by our clients, so it could be various ones. -Message d'origine- De : Rory Winston [mailto:[EMAIL PROTECTED] Envoyé : vendredi 2 février 2007 15:03 À : Jakarta Commons Users List;

Re: Is JXPath support Boolean?

2007-02-02 Thread Matt Benson
--- maomaode [EMAIL PROTECTED] wrote: Hi, I'm a new user of JXPath, my working env: JDK5, JXPath 1.2 I have a Nested bean class: Config.java which has a getter: CacheConfig getCache() { return this.cache; } The CacheConfig.java which has two getters: Boolean isEnable() {

DbUtils Transaction Management with Spring

2007-02-02 Thread Asleson, Ryan
Hello, I've built a custom DAO framework that relies on DbUtils to do all of the heavy lifting for queries. DbUtils works great, thanks! I want to use Spring to manage the database transactions. I've created some service beans that use the Spring TransactionInterceptor to start and stop

[SCXML] Weird behavior with invoke

2007-02-02 Thread Elam Birnbaum \(ebirnbau\)
Hello everyone, This is my first post concerning Commons SCXML so please feel free to provide suggestions on the semantics of my post, the question itself, or the design I have chosen. Apologies in advance for the long e-mail! Introduction What I want to do is to have an SCXML document that

Struts+Hibernate many-to-many mismatch

2007-02-02 Thread Abbas Adel
Dears, I have 2 hibernate entities, user role, with many-to-many relation. I also use them as form beans. [code] public class User extends ValidatorActionForm { private int UID; private String username; private String password; private String name; private

How to sign emails with javamail?

2007-02-02 Thread Benoit Xhenseval
Hi I had a quick look at the mail package in commons and that is very useful. I was wondering if anybody has a link to a good and open source library to SIGN outgoing emails, probably using SMIME. I have noticed BouncyCastle.org and Java-Crypto.sourceforge.net but is there anything else or

[HTTPClient] Header parser

2007-02-02 Thread Kedar Panse
Hello guys! I have been using HTTPClient for quite a while, thanks to you guys work! Recently I came across a site, which I believe is returning bad headers. HTTPClient seems to choke on Set-Cookie: user-cookie=; path=/; domain=.xxx.com; secure HTTP/1.0 200 content-type: text/html