Re: JAKARTA COMMONS DIGESTER RULES XML PROBLEM

2007-11-06 Thread Kapil Pruthi
Thanks, this sounds interesting to me. straight fromXmL and toXML functions, i will surely try this n betwixt next week. On 11/5/07, James Watkin <[EMAIL PROTECTED]> wrote: > > Kapil, > > Not to take anything away from the excellent Apache Commons projects, > but I recently used XStream on a proj

Re: VFS how to read gzipped content from tar file

2007-11-06 Thread Mark Fortner
You mentioned that you wanted to look into a tarball (gzipped tar file), but the URL you gave was only for a tar file. Something like this should work: gz:tar:file:///extra/data/tryVfs/archive.tar.gz!/myfile.txt Hope this helps, Mark On 10/31/07, Ken Tanaka < [EMAIL PROTECTED]> wrote: > > Than

Re: VFS how to read gzipped content from tar file

2007-11-06 Thread Ken Tanaka
To follow up: I never did get a direct extract of the gzipped content from inside of a tar file, but took a multistep approach to get the files I want. I've documented what I've come up with so far: http://wiki.apache.org/jakarta-commons/ExtractAndDecompressGzipFiles I started a VfsCookbook p

Re: FileUpload: Stop ISP Caching ?

2007-11-06 Thread Constantin Moisei
So you don't think I can bypass that behavior ? On 06/11/2007, Jörg Schaible <[EMAIL PROTECTED]> wrote: > Constantin Moisei wrote: > > > Hello, > > > > I'm using commons-fileupload.jar with ajax to do a multi file upload. > > > > I have the feeling that my ISP uploads the file and when they receiv

Re: FileUpload: Stop ISP Caching ?

2007-11-06 Thread Jörg Schaible
Constantin Moisei wrote: > Hello, > > I'm using commons-fileupload.jar with ajax to do a multi file upload. > > I have the feeling that my ISP uploads the file and when they receive > it all only then they pass it to me. That causes me to get the file > almost instantly. > > I'm displaying a pr

FileUpload: Stop ISP Caching ?

2007-11-06 Thread Constantin Moisei
Hello, I'm using commons-fileupload.jar with ajax to do a multi file upload. I have the feeling that my ISP uploads the file and when they receive it all only then they pass it to me. That causes me to get the file almost instantly. I'm displaying a progress bar for each upload but if they pass

Re: FileUpload: Uploading an specific file format

2007-11-06 Thread Martin Cooper
On Nov 6, 2007 10:20 AM, Gerardo Corro <[EMAIL PROTECTED]> wrote: > Thanks, but the accept is not working, it still shows me in the select window > all file formats. I tested in firefox and IE7. > > What I'm doing wrong?? Nothing. AFAIK, the browsers just don't do that, so you're out of luck. --

RE: FileUpload: Uploading an specific file format

2007-11-06 Thread Gerardo Corro
Thanks, but the accept is not working, it still shows me in the select window all file formats. I tested in firefox and IE7. What I'm doing wrong?? Send your .gif image From: petite_abeille [mailto:[EMAIL PROTECTED] Sent: Tue 11/6/2007 7:10 PM

Re: FileUpload: Uploading an specific file format

2007-11-06 Thread petite_abeille
On Nov 06, 2007, at 18:31, Gerardo Corro wrote: How could I get the same window just allowing to upload an specific type of file, like an .xls or .doc or .jpg? http://www.w3.org/TR/html4/interact/forms.html#adef-accept - To

FileUpload: Uploading an specific file format

2007-11-06 Thread Gerardo Corro
Hi all, I'm using commons FileUploader, and I want to be able to filter the kind of files to be uploaded, I mean, in my JSP I have the form: " enctype="multipart/form-data"> Fichero1: Fichero2: Fichero3: The classy upload window pops-up with the "Files of type: 'All Types

Re: Commons-net FTP: how to check if file exists

2007-11-06 Thread Thorsten Scherler
On Fri, 2007-11-02 at 09:10 +0200, Denis Bessmertniy wrote: > Hi, > > How is the best to check with FtpClient that file exists on FTP. String path = "/" + dir ; client.changeWorkingDirectory(path); String reply = client.getReplyString().substring(0, 3); if (reply.equals("250")) { LOG

Re: DIGESTER: object creation and passing nodes to sub object

2007-11-06 Thread Simon Kitching
Hi Matthias, You might like to have a look at the "plugins" module for digester. It allows the rules to be dynamically expanded. I don't know if it's exactly what you're looking for, but it is close. I cannot remember for the moment whether it supports xml rules or not. As far as I am aware th