RE: [fileupload]
Yes, I am able to upload single file at a time. But want to upload multiple files at one go. Amit -Original Message- From: christopher.alexan...@novartis.com [mailto:christopher.alexan...@novartis.com] Sent: Thursday, March 10, 2011 2:37 AM To: Commons Users List Subject: Re: [fileupload] Hi Amit, To be truthful, I never got the damn thing working. Has anyone out there actually been able to successfully get commons fileupload working? Chris 03/09/2011 06:22 AM Please respond to "Commons Users List" To cc Subject [fileupload] I want to upload multiple files at a time using commons file upload jar. How can I do it? Thanks Amit - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org
Re: [beanutils] BeanUtilsBean#setProperty() behaviour in 1.7 and 1.8
2011/3/7 Björn Moritz : > Hello, > > is there a reason for BeanUtilsBean#setProperty() in line 968 not > using the PropertyType of the current PropertyDescriptor as the type > of class to convert to, but instead the class of the value to be > converted? > Until beanutils 1.7 a String array was converted to a string using the > first element of the array; since 1.8 the string array is converted to > a string using the toString method of the array (as the destination > type is now an array type). > Why can't we use the property descriptor for these mapped properties, too? BeanUtils (uniquely) has the concept of a MappedPropertyDescriptor like the IndexedPropertyDescriptor, so that if you have acessor methods in your bean with a key parameter, then it assumes it is accessing an underlying Map. In that scenario it does indeed use the descriptor to determine the type. However if it has a Map property (i.e. has methods that set/return a Map) then there is no way to determine the type. By the time it reaches the line number you quote, then its in the later scenario and the type can't be determined - since the descriptor type should be a Map. Niall > Regards, > > Björn > > - > To unsubscribe, e-mail: user-unsubscr...@commons.apache.org > For additional commands, e-mail: user-h...@commons.apache.org > > - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org
Re: [fileupload]
Hi Amit, To be truthful, I never got the damn thing working. Has anyone out there actually been able to successfully get commons fileupload working? Chris 03/09/2011 06:22 AM Please respond to "Commons Users List" To cc Subject [fileupload] I want to upload multiple files at a time using commons file upload jar. How can I do it? Thanks Amit
[Digester][Sandbox] please test the experimental new Digester
Hi all Commons users, I'd like you involved on testing the prototypal Digester on Sandbox[1]; since it is staged at Sandbox, interested people have to checkout the code and build by themselves, it would be a good chance to be more involved. Every suggestion/feedback/wish list/bug would be very appreciated. Many thanks in advance! Simo [1] http://commons.apache.org/sandbox/digester3/ http://people.apache.org/~simonetripodi/ http://www.99soft.org/ - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org
[NET] FTPClient SocketException: Connection reset
Hi, I run a simple client and get exception below. BTW listFiles() for other directories of the same FTP server works OK. FTPClient.listNames() also works OK even for problematic dir. But listFiles() fails. Please advice. FTPClient sc = new FTPClient(); sc.connect("aa"); sc.login("bb", "ccc"); FTPFile[] fff = sc.listFiles("/somedirectory"); Exception in thread "main" java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:168) at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264) at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306) at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158) at java.io.InputStreamReader.read(InputStreamReader.java:167) at java.io.BufferedReader.fill(BufferedReader.java:136) at java.io.BufferedReader.readLine(BufferedReader.java:299) at java.io.BufferedReader.readLine(BufferedReader.java:362) at org.apache.commons.net.ftp.FTPFileEntryParserImpl.readNextEntry(FTPFileEntryParserImpl.java:53) at org.apache.commons.net.ftp.FTPListParseEngine.readStream(FTPListParseEngine.java:157) at org.apache.commons.net.ftp.FTPListParseEngine.readServerList(FTPListParseEngine.java:101) at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2551) at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2519) at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2275) at FTPClient.main(FTPClient.java:299) -- View this message in context: http://apache-commons.680414.n4.nabble.com/NET-FTPClient-SocketException-Connection-reset-tp3343448p3343448.html Sent from the Commons - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org
[fileupload]
I want to upload multiple files at a time using commons file upload jar. How can I do it? Thanks Amit