Re: DBCP Oracle

2005-05-04 Thread Dirk Verbeeck
If you are using BasicDataSource then use the addConnectionProperty method: http://jakarta.apache.org/commons/dbcp/apidocs/org/apache/commons/dbcp/BasicDataSource.html#addConnectionProperty(java.lang.String,%20java.lang.String) If you are creating the pool yourself you can do:

Re: Location of org.apache.commons.fileupload.servlet

2005-05-04 Thread Nicholas Rahn
i believe you need the CVS/development version (1.1-dev) which contains these new packages. nick On Tue, 2005-05-03 at 13:11 -0400, Will Presson wrote: Does anyone know where I can download a jar of all the apache.commons.fileupload packages? org.apache.commons.fileupload

Re: [Slightly OT] JNDI question

2005-05-04 Thread Mattias J
This is how we do it and it works fine. Spring provides lots of stuff that makes testing easier. I should have a more thorough look at it myself someday... At 2005-05-03 20:38, you wrote: Stumbled across this just recently: Spring has a mock JNDI implementation. Create your datasource, bind

Re: Timeout Problem

2005-05-04 Thread Mattias J
The timeout is not used to limit the total download time, but to limit the time the client waits for the server to respond (i.e. start sending data). AFAIK the JDK does not provide a way for setting a maximum connection time, and after a quick glimpse it seems Commons Net FTP does not provide

Which are the rules for Regular Expresion in Validator

2005-05-04 Thread Rodolfo GarcĂ­a Esteban/CYII
Hi, the method GenericValidator.matchRegexp needs a regular expresion to check the string. but wich are the rules for make up this regular expresion, I couldn't find the rules in the docs. I would appreciate any help. Thanks Rodolfo___

Re: DBCP Oracle

2005-05-04 Thread Arjen van der Weijden
thanks Dirk, I will check it out! Regards, Arjen Dirk Verbeeck

Re: Which are the rules for Regular Expresion in Validator

2005-05-04 Thread Ahmed El-dawy
I think it is the same as the Regular expression of Java. If you hava Java API help, you can see the Java doc for the class Pattern. -- Regards, Ahmed Saad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Negative value for numActive under high load

2005-05-04 Thread Mauro Botelho
Ben, This is probably a synchronization issue. I didn't look at the code, but what normally happen is that developers assume that the ++/-- operators are thread safe and they are not. Mauro On 5/3/05, Ben Lindahl [EMAIL PROTECTED] wrote: Hi all, I have an application that uses

Re: [FileUpload] Getting wrong filename from FileItem

2005-05-04 Thread Dakota Jack
Some people think this is a bug and some people think that this is a feature. Martin, who makes all the decisions as a practical but not as a theoretical (so please let's not debate this) matter on this has decided it is a feature. Since he seems to integrate his day job and this work, that is

Re: [betwixt] dynabean with betwixt

2005-05-04 Thread robert burrell donkin
hi matt On Tue, 2005-05-03 at 12:45 -0500, Matt Goodwin wrote: I am trying to write out a class that implements DynaBean. When I do this it does not write out any of the dynaproperties. I looked at the TestDynaBeanSupport test case. It does not appear to be writing out the dynaproperty

Re: [FileUpload] Getting wrong filename from FileItem

2005-05-04 Thread robert burrell donkin
On Wed, 2005-05-04 at 10:26 -0700, Dakota Jack wrote: Some people think this is a bug and some people think that this is a feature. snip That is not a problem, however. I just went in and changed the commons upload code adding .getName() to the file at this stage. The problem you are

Commons Validator backward compatibility

2005-05-04 Thread Annapurna Chukkapalli
Hi, We are using commons-validator.jar of version 1.0.2. Now I am planning to use commons-validator-1.1.4.jar. Can some one please tell me issues related to backward compatibility that I should be worried about? Thanks, Anu __ Do You Yahoo!?

Re: [FileUpload] Getting wrong filename from FileItem

2005-05-04 Thread Dakota Jack
That is an excellent point, Robert. I often forget how horrible it must be to be immeshed in those programming worlds where there is no recourse. Too often we shy away, I think, at changing code, even with the Java distribution itself, license issues notwithstanding. On 5/4/05, robert burrell

Re: [betwixt] dynabean with betwixt

2005-05-04 Thread Matt Goodwin
Thanks for the response. I'll take a stab at it. Matt robert burrell donkin wrote: hi matt On Tue, 2005-05-03 at 12:45 -0500, Matt Goodwin wrote: I am trying to write out a class that implements DynaBean. When I do this it does not write out any of the dynaproperties. I looked at the

Re: [FileUpload] Getting wrong filename from FileItem

2005-05-04 Thread Frank W. Zammetti
It seems to me a method to get JUST the filename makes a lot of sense... what has been the reason for not adding it IN ADDITION to what's there now? Unfortunately it would make more sense if getName() returned just the name while there was another method, maybe getFullName() that returned

Re: [FileUpload] Getting wrong filename from FileItem

2005-05-04 Thread Dakota Jack
The data difference is not in the code but in the request data from the browser. IE puts in the full name and other browsers put in just the name. Calling [file].getName() gives the same result for all of them. I don't think there is a way to get a full name from the browsers that send only the

RE: [betwixt] dynabean with betwixt

2005-05-04 Thread David Hinostroza
Hi I have a problem whit beanutils.BasicDynaBean I cannot serializar a BasicDynaBean object when I call of facade(Ejb StateLess) load normal(load the ArrayList) but from the Delegate(Cap Web) at the time of bringing the ArrayList it leaves the following error to me : 39737

Error DynaBean

2005-05-04 Thread David Hinostroza
Hi I have a problem whit beanutils.BasicDynaBean I cannot serializar a BasicDynaBean object when I call of facade(Ejb StateLess) load normal(load the ArrayList) but from the Delegate(Cap Web) at the time of bringing the ArrayList it leaves the following error to me : 39737

[VFS] FileChangeEvent, inotify, and file changes outside JVM

2005-05-04 Thread ogjunk-commons
Hello, I'm looking at Commons VFS project and see FileChangeEvent. I'm wondering if this lets an application listen for file/directory change events that happen outside of the JVM (e.g. a user deletes a file, edits it, or creates a new one, or perhaps creates a new directory)? I suspect the

XMLConfiguration Trimming whitespace around node value

2005-05-04 Thread Chan, Joseph
Hi all, Could someone explain why XMLConfiguration trims the whitespace which surrounds the value of node? This presents a problem when the XML Configuration contains formatted text. Thanks, Joseph www.about.sensis.com.au A leading Australian advertising, information and

Tools to generate JSP Forms from Java Object

2005-05-04 Thread Edmond Wong
Hi, I am looking for a set of tools to generate JSP form(s) from Java bean(s) for data entry. In my small project at work, when the root form is saved, it will populate the fields in the java bean(s), then to transform the bean to XML documents. A simulator will take the XML documents, then