RE : [Jelly] How to create and use custom scope with standard tag libr ary ?

2004-10-28 Thread Marc DEXET
Dion Gillard wrote: What about using the scope tag? Because of ScopeTag has a local scoping, and I want to use scoping in a JSL way : first define, run later. -- Marc DeXeT

[jelly][context] is JellyContext findVariable(String name) useles s ?

2004-10-28 Thread Marc DEXET
Hello everybody. Is JellyContext findVariable(String name) useless ? If I search call in jelly java files, I only found usage in AntTagLibrary. There's other usage ? Thank ! -- Marc DeXeT

RE: [fileupload] MIME type or serialization problem

2004-10-28 Thread Ruiz Cadenas, Jose I.
Hi, Oliver: Thnks. You are all right, this was the problem. Thank you very much Nacho. -Mensaje original- De: Oliver Heger [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 27 de octubre de 2004 15:24 Para: Jakarta Commons Users List Asunto: Re: [fileupload] MIME type or

[jelly] How work application, session et request scopes in jellyContext

2004-10-28 Thread Marc DEXET
Hello (second) everybody There's another Great Question Of Life, the Universe, and Everything... It's said in JellyContext source : If Jelly is used in a Servlet situation then 'request', 'session' and 'application' are other names for scopes Ok, but I cant' found out where there keywords are

RE : [jelly] How work application, session et request scope s in jellyContext

2004-10-28 Thread Marc DEXET
Marc DEXET wrote: Hello (second) everybody There's another Great Question Of Life, the Universe, and Everything... It's said in JellyContext source : If Jelly is used in a Servlet situation then 'request', 'session' and 'application' are other names for scopes Ok, a part of the answer is

Commons Pool : problem with maxActive configuration

2004-10-28 Thread Loïc Fournial
Hy, i work on an application which use commons pool. i configure the propetyies like that : connection.pool.max.active=50 connection.pool.max.wait=1 connection.pool.min.idle=10 connection.pool.max.idle=20 connection.pool.time.betweenevictionruns.millis=6

RE: FileUpload\Windows 2003 Server\Tomcat

2004-10-28 Thread Robert Priest
Hello Dakota Jack, I am using the latest version of fileupload (commons-fileupload-1.1-dev.jar), which is using the latest version of commons-io-1.1-dev.jar The code for getTempFile() in the latest version of DefaultFileItem, looks like this: /** * Creates and returns a [EMAIL

RE: FileUpload\Windows 2003 Server\Tomcat

2004-10-28 Thread Robert Priest
Or, I think there is something about the threshold only being used for certain things. I even tried bumping the threshold up: upload.setSizeThreshold(10240); But I still got the same error. -Original Message- From: Robert Priest Sent: Thursday, October 28, 2004 10:30 AM To:

Re: FileUpload\Windows 2003 Server\Tomcat

2004-10-28 Thread Dakota Jack
I would suggest that you go into FileUploadBase and flesh out the exceptions so that you can get more information. Try something like the following: /* try {*/ int boundaryIndex = contentType.indexOf(boundary=); if (boundaryIndex 0) { throw new FileUploadException(

Re: RE : [Jelly] How to create and use custom scope with standard tag libr ary ?

2004-10-28 Thread Dion Gillard
Ok, I understand. Is there anything on JSL scoping I can read? On Thu, 28 Oct 2004 08:55:06 +0200, Marc DEXET [EMAIL PROTECTED] wrote: Dion Gillard wrote: What about using the scope tag? Because of ScopeTag has a local scoping, and I want to use scoping in a JSL way : first define, run

[VOTE] Jelly and a release

2004-10-28 Thread Dion Gillard
We've covered most of the issues in Jira for Jelly to make a 1.0 release. I'd like to go ahead and make the current code a release candidate, 1.0-RC1. If anyone has changes or bugs that need to be addressed in 1.0, *please* raise them now, so that we can decide to either include them or wait.

Re: [jelly] How work application, session et request scopes in jellyContext

2004-10-28 Thread Dion Gillard
There's currently no way to register scopes like those below without subclassing JellyContext. Even 'systemScope' is not really a defined scope, it's an omnipresent variable. This is something we should consider for Jelly 1.1. On Thu, 28 Oct 2004 10:06:18 +0200, Marc DEXET [EMAIL PROTECTED]

RE: FileUpload\Windows 2003 Server\Tomcat

2004-10-28 Thread Robert Priest
looks like the else statement here in: MultipartStream.java is occurring. (from MutipartStream.readBodyData(OutputStream output)): bytesRead = input.read(buffer, pad, bufSize - pad); // [pprrr] if (bytesRead != -1) {

RE: FileUpload\Windows 2003 Server\Tomcat

2004-10-28 Thread Robert Priest
I guess in that respect, it is similar to bug: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25598 but I am running Justin Sampson's patch of: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=30061 but it doesn't work for this problem. Possibly this problem, is more related to IIS 6.0 on

Re: [el] using el as a simple templating engine

2004-10-28 Thread Mark Lowe
Thanks for the input Jason I'm not at all opposed to using jelly for a templating engine for merging a bean/map to a template.. The problem i'm trying to solve is parsing a template into a admin form.. There are a few problems such as where to store the meta data such as size of a text field and

Re: JXPath: Thread-Safe Behavior and Real-Time Applications

2004-10-28 Thread Dmitri Plotnikov
Scott, JXPath is thread safe. It has been tested extensively in multi-threaded environments. That said, you might want to pay special attention to its performance. The main performance tweaking mechanism is Compiled Expressions. JXPath maintains a global cache of those. Since that cache

Re: File Upload Directory???

2004-10-28 Thread Martin Cooper
On Tue, 26 Oct 2004 13:13:46 -0400, Qin Ding [EMAIL PROTECTED] wrote: I have a need to upload the directory which contains xml, images, and other resources. Rather than upload them one at a time, is there a way to upload them by the directory? /books/book1.xml /books/book1.ipg

Re: File Upload Directory???

2004-10-28 Thread Ben Souther
You're going to have a tough time doing that. The browser, for security reasons, allows no programmatic access to the file system. You're pretty much limited to an input field(s) of type file. You can't even pre-populate them. A signed applet can prompt the user for extended access to the file

betwixt introspection error for class derived from Collection types

2004-10-28 Thread Nishant Deshpande
I have a class which I write to xml using the betwixt writer. As soon as I add 'extends ArrayList' or some other Collections type to the class, it looks like betwixt cannot introspect it any more. I get an empty object written out. Does anyone know if there is a fix / workaround for this? I am

RE: [VOTE] Jelly and a release

2004-10-28 Thread Hans Gilde
+1 -Original Message- From: Dion Gillard [mailto:[EMAIL PROTECTED] Sent: Thursday, October 28, 2004 12:24 PM To: Jakarta Commons Developers List; Jakarta Commons Users List Subject: [VOTE] Jelly and a release We've covered most of the issues in Jira for Jelly to make a 1.0 release.

Re: File Upload Directory???

2004-10-28 Thread Dakota Jack
I don't know how serious you are about this or what sort of a situation you are in, but this is easy to do if you want to build a mini-browser or mini-client in Java to do it. I would think it has been essentially done if you checked around. Jack On Tue, 26 Oct 2004 13:13:46 -0400, Qin Ding

Re: Enabling JDK1.4 logging for DEBUG level

2004-10-28 Thread Craig McClanahan
The default mapping of Commons Logging levels to JDK logging levels is: debug() -- FINE error() -- SEVERE fatal() -- SEVERE info() -- INFO trace() -- FINEST warn() -- WARNING Craig On Thu, 28 Oct 2004 20:20:38 -0700 (PDT), Ronaldo Nascimento [EMAIL PROTECTED] wrote: I'm using