VFS jar files

2006-11-15 Thread Nadim Murr
Hi, I'm using commons VFS to read and write on different sources. I managed to read and write on a file system source, ftp source... My problem is the following; when dealing with jar or zip files, I'm not able to write, and more specifically I can't create a new folder inside. Check out the

Re: VFS jar files

2006-11-15 Thread Mario Ivankovits
Nadim Murr schrieb: My problem is the following; when dealing with jar or zip files, I'm not able to write, and more specifically I can't create a new folder inside. VFS is not yet able to write to e.g. jar files, please see the capabilities matrix [1] Another question is: Is there a way

[ANN] codeczar config-1.0 final released

2006-11-15 Thread Nathan Coast
Hi, The codeczar team is pleased to announce the 1.0 release of the config component - simple management of database-resident configuration properties for your Java applications. The codeczar configuration component provides runtime GUI and API access to db-resident Jakarta

Cannot find FileItemIterator.

2006-11-15 Thread Shervin Asgari
Hello. I am trying to test FileUpload, and used a sample from the User Guide and Streaming Guide. But I get the same error. I have uploaded the commons-fileupload.1.1 to my WEB-INF/lib directory and when the first test, which is boolean isMultipart =

Re: Cannot find FileItemIterator.

2006-11-15 Thread James Carman
As a side note, you might consider not polluting your view code (your JSPs) with such complicated logic. Try moving this sort of code into a helper bean or something. On 11/15/06, Shervin Asgari [EMAIL PROTECTED] wrote: Hello. I am trying to test FileUpload, and used a sample from the User

Re: Cannot find FileItemIterator.

2006-11-15 Thread Shervin Asgari
I will. But somehow I need to read the data before I can send it to a bean. Shervin James Carman wrote: As a side note, you might consider not polluting your view code (your JSPs) with such complicated logic. Try moving this sort of code into a helper bean or something. On 11/15/06, Shervin

[NET] empty result with listFiles() method whereas I should get files

2006-11-15 Thread serge . simon
Hello, I have a strange behavior with commons-net, about FTP commands - with one and only one AIX computer - and I can't find what the problem is. I'm using Jakarta commons-net 1.4.1 (same problem with a build from august 2006). I use a FTPClient object invoking the listFiles() method. It

Using the validation framework without struts

2006-11-15 Thread DOMINGUEZ Felipe
Hello. I am new in this list, so Hi to every body. I am trying to use the validation frame work, but I do not find any good documentation on it. The google is plenty of help to use the validation frame work with Struts, but I want to use it without struts.=20 Any information would be

[Digester] Parsing question

2006-11-15 Thread Christian Barth
Hello! I'm completly new to Digester. I want to parse a XML-File to generate a HTML-Email. My XML has the following structure: ?xml version=1.0 encoding=UTF-8 standalone=yes? email subjectsome subject/subject from[EMAIL PROTECTED]/from message html

Re: Cannot find FileItemIterator.

2006-11-15 Thread Martin Cooper
On 11/15/06, Shervin Asgari [EMAIL PROTECTED] wrote: Hello. I am trying to test FileUpload, and used a sample from the User Guide and Streaming Guide. But I get the same error. I have uploaded the commons-fileupload.1.1 to my WEB-INF/lib directory The streaming API is only available in

Re: upload file to asp.net 2.0 server

2006-11-15 Thread Martin Cooper
On 11/13/06, damon leong [EMAIL PROTECTED] wrote: hi all, i wondering is that FileUpload package can upload it from java client to .net server ... ? Commons FileUpload implements the server side of a file upload, not the client side. If you want Java code for the client side, you should

RE: [Digester] Parsing question

2006-11-15 Thread David Sills
Been a while since I've used Digester directly (I tend towards using Betwixt), but I don't see how message is really any different from subject or from. My first try would be to remove the /* from the rule: digester.addBeanPropertySetter(email/message, message); If that doesn't work, try

Re: VFS jar files

2006-11-15 Thread Will Pugh
If folks are interested in code that can write to Zip Files, I've offered code to do this before. It's a bit rough, but I'd be happy to polish it up. I was thinking it would make sense to put it in compress, and then VFS could use as well. Is anyone interested in this? I'm not a committer,

RE: [betwixt]Mapping the same object to 2 sets of XML

2006-11-15 Thread Jared Graber
I found that the nightly builds have support for option inheritance, but it seems it only works for elements and not attributes so that's not a big help. I didn't see a way to do this, but overriding the OptionRule and Options classes would enable me to add the functionality I need to properly

Re: Using the validation framework without struts

2006-11-15 Thread Ray Shi
Hi Felipe, Validator FAQ from Commons Wiki has an excellent example for using standalone Validator. Here is the URL, http://wiki.apache.org/jakarta-commons/ValidatorStandalone. Hope this is what you are after. Cheers Ray On 16/11/06, DOMINGUEZ Felipe [EMAIL PROTECTED] wrote: Hello. I am

Re: [Digester] Parsing question

2006-11-15 Thread simon.kitching
Hi Christian, This is a pretty common question so I've added an entry to the Digester FAQ. Please see the last section of this page: http://wiki.apache.org/jakarta-commons/Digester/FAQ NB: your email was in general very well phrased but in future please try to provide a more useful subject

[fileupload] - aborting file upload

2006-11-15 Thread Shaun_Curtis
Hi, I am using commons-fileupload v1.1.1 on Websphere Portal v5.1. My file upload works as expected except when the file size exceeds the specified maximum size. parseRequest() throws a FileUploadException as expected, this exception is caught and processed appropriately and the code

Re: [fileupload] - aborting file upload

2006-11-15 Thread Andrew Serff
I have this problem as well. I would love to hear if there is a a way to cancel the client from sending the form data. It seems that it has to send the entire form data before it can get a response from the server. I'm guessing this is just a flaw/feature in the way forms are handled in

DBCP high performance contention point

2006-11-15 Thread Veprinsky, Michael
Hello! I am using DBCP for very light weight queries and it seems that I came across synchronization bottleneck. I am not sure, maybe I am doing something wrong or maybe there is an easy workaround. It seems that both on DataSource.getConnection and on Connection.close() there are synchronized

[fielupload] too long time for the error page to be displayed

2006-11-15 Thread Leena Kulkarni
We have implemented file upload with the commons file upload. We have set the upload.setSizeMax(1*1024*1024); statement as we want to restrict the size to 1 MB. When user tries to upload files greater than say 7MB, on some machines, the control goes to the error handling block, executes it but