[POOL] GenericObjectPool implementation question

2002-10-18 Thread Wendy Smoak
. (Well, except for a System.out.println() call.) I don't see how this is different from synchronizing the entire method. Thanks for any insight, -- Wendy Smoak http://sourceforge.net/projects/unidbtags

RE: [taglib][standard] Nested forEach?

2002-11-23 Thread Wendy Smoak
Can you nest c:forEach tags? Sorry... wrong list. :( -- Wendy

RE: DBCP - AbandonedObjectPool

2002-12-18 Thread Wendy Smoak
(). If you're still holding a reference to it, as in the code you posted, I would not expect the pool to reclaim the object. It's not too clear from the javadoc, though. -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

argument type mismatch?

2003-02-18 Thread Wendy Smoak
out there that would clear things up, or does anyone have any advice? (This is a Struts app and the properties are being copied from/to a DynaValidatorForm and the data transport object.) Thanks! -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources

[JSTL] Pattern match?

2003-03-31 Thread Wendy Smoak
. If necessary I can add a boolean property to the bean in question, but is there a way to determine this using JSTL? -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

RE: [JSTL] Pattern match?

2003-04-01 Thread Wendy Smoak
it as part of JSTL... it was a Struts tag I wanted: logic-el:notMatch expr=${clearanceRequest.prospect.key} location=start value=0 Tells me whether the 'key' property of the Person contained in the ClearanceRequest starts with a zero. -- Wendy Smoak

[VALIDATOR] Validating formatted amounts

2003-04-04 Thread Wendy Smoak
? I didn't get any answers from struts-user, so I'm thinking I need to write a custom validator for this. -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

Replacement for ValidatorUtil?

2003-06-03 Thread Wendy Smoak
/apache/commons/valid ator/ValidatorUtil.html But there is no mention of it being deprecated or what to use in its place, and nothing with a similar signature in the index. What should I use instead? -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources

RE: [beanutils] not finding the setter

2003-07-02 Thread Wendy Smoak
or the other to go with your 'set' method (and the types will have to match). http://java.sun.com/products/javabeans/docs/spec.html See section 8.3 Design Patterns for Properties -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University, PA, IRM

RE: [beanutils] not finding the setter

2003-07-02 Thread Wendy Smoak
conforming to the letter of the standard? Life is much easier when everything conforms to the spec, if something is misbehaving you can go to the rules and either fix your code or log a bug for BeanUtils. -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University, PA, IRM

RE: [beanutils] not finding the setter

2003-07-02 Thread Wendy Smoak
with their Form beans.) -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University, PA, IRM

Broken link to Commons API docs

2003-12-11 Thread Wendy Smoak
). I know, I know... Open a bug, create a patch... -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: [DBCP] Example init servlet to set up a connection pool?

2004-03-05 Thread Wendy Smoak
to set up our resources from within the application itself. No advice here on what to put inside it, bt I think a ServletContextListener would be a better choice. -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED

[digester] help with digester rules

2005-01-07 Thread Wendy Smoak
should the rule be so that it will call setPreferredName directly on the PersonView object? Thanks, -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [digester] help with digester rules

2005-01-07 Thread Wendy Smoak
-rules.dtd. :/ Since SetNestedPropertiesRule is new with 1.6, has it just not been added to the xml rules yet? Thanks, Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [digester] help with digester rules

2005-01-07 Thread Wendy Smoak
/ call-method-rule pattern=preferredName methodname=setPreferredName paramcount=0 / /pattern /digester-rules -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: [FILE UPLOAD] upload a file from a website to another one

2005-01-10 Thread Wendy Smoak
is used when you are receiving the file, not sending it.) -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [Digester] using (X)HTML in XML

2005-01-12 Thread Wendy Smoak
Digester to pass them through: as lt; for example. -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [digester] internal object not populated

2005-01-14 Thread Wendy Smoak
] agentStatementDetails=[] [EMAIL PROTECTED] positiveEarnings=0.0 netEarnings=0.0]] HTH, if you haven't solved it yourself by now. :) -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[digester] Can rules be re-used?

2005-01-15 Thread Wendy Smoak
/webuser, rule ); I haven't found anything that says one way or the other, but I'll avoid it unless someone knows for sure. -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [digester] Can rules be re-used?

2005-01-16 Thread Wendy Smoak
'download/person'. in the log file. -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [digester] Can rules be re-used?

2005-01-16 Thread Wendy Smoak
that !* would, well, match every pattern. What am I missing? -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [digester] Can rules be re-used?

2005-01-16 Thread Wendy Smoak
that didn't match anything else. Perfect! Thanks once again, -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [digester] Can rules be re-used?

2005-01-16 Thread Wendy Smoak
in the javadoc for ExtendedBaseRules would be okay though. -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Does LazyDynaBean work with JSTL?

2005-01-17 Thread Wendy Smoak
2002 was a long time ago, but this is all I could find in the archives: - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Does LazyDynaBean work with JSTL?

2005-01-17 Thread Wendy Smoak
( propName ) equivalent. Does LazyDynaBean work with JSTL, and if so, what is the syntax to pull a String|List|Map out of it? Thanks, Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [digester] Can rules be re-used?

2005-01-17 Thread Wendy Smoak
? -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[digester] Populating a LazyDynaBean with Digester

2005-01-17 Thread Wendy Smoak
??? ); digester.addCallParam(download/person/degree, 2); Is it possible to set indexed properties with Digester? A 'normal' bean might have an 'addWhatever' method, but I don't see anything helpful in the LazyDynaBean API docs. Thanks, Wendy Smoak

Re: [digester] Can rules be re-used?

2005-01-18 Thread Wendy Smoak
ExtendedBaseRules() ); ? Or... how can you do the same thing with RulesBase? (I _do_ just want it to call setWhatever() for patterns for which there isn't any other match.) Thanks, Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Using digester and BeanUtils together

2005-01-18 Thread Wendy Smoak
to populate LazyDynaBean's String and Map-backed properties. I'm having trouble with Indexed properties still, but have not pursued it since Mapped works well enough-- this is all coming from a database, so I just use the unique record key as the key to the mapped property. -- Wendy Smoak

Re: [digester] Populating a LazyDynaBean with Digester

2005-01-18 Thread Wendy Smoak
dynabean has up front and not let new ones be created... obviously I need something other than LazyDynaBean, maybe BasicDynaClass would work better for this? Thanks, -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [digester] Populating a LazyDynaBean with Digester

2005-01-19 Thread Wendy Smoak
] for the moment-- mapped works just as well for me since I always have a unique key for the whatever-it-is coming out of the database. -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Accessing attributes... again

2005-01-26 Thread Wendy Smoak
an example of using nested properties in xml rules under src/examples/xmlrules/addressbook. These examples have been updated recently, so I'd recommend getting a recent nightly build (source distribution) or just checking the source out with cvs. -- Wendy Smoak

[digester] How to set a LazyDynaBean map-of-objects property?

2005-01-28 Thread Wendy Smoak
here: http://wiki.wendysmoak.com/cgi-bin/wiki.pl?DigesterLazyDynaBean ) Does anyone see what I'm doing wrong? And what's the proper way to refer to the stack elements. If 0 is the top, is the next one -1 or 1? Thanks, Wendy Smoak

Re: [digester] How to set a LazyDynaBean map-of-objects property?

2005-01-28 Thread Wendy Smoak
to the LazyDynaBean object stored on the stack. Weird. Is there a convention to use either negative or positive numbers, or does it not matter? I suppose it depends how you draw your stack on paper, whether 'next' is up or down. :) -- Wendy Smoak

Re: [digester] Populating a LazyDynaBean with Digester

2005-01-29 Thread Wendy Smoak
From: Wendy Smoak [EMAIL PROTECTED] But what do I do with indexed properties where the call to LazyDynaBean.set(name,index,value) requires an integer index? (A person may have more than one degree.) digester.addCallMethod(download/person/degree, set, 3); digester.addObjectParam

Re: Need a little help

2005-02-01 Thread Wendy Smoak
attributes as keys and the contents of the item tags as values from a directory of XML files -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Need a little help

2005-02-01 Thread Wendy Smoak
); It should create a TreeMap and then call 'put' with the value of the NAME attribute and the body of the ITEM tag as the name/value pair. Some of the method params may be switched around, double check the signatures. HTH, -- Wendy Smoak

Re: [Digester] Bug in parsing of xml specified rule for call-method-rule?

2005-02-02 Thread Wendy Smoak
there, it seemed like a good idea...) Simon Kitching's comments on this bug may be enlightening: http://issues.apache.org/bugzilla/show_bug.cgi?id=33001#c20 -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Digester Quesion

2005-02-07 Thread Wendy Smoak
as the second parameter to 'put' on the TreeMap. I have an example of something similar-- it creates an ArrayList of LazyDynaBeans, you should be able to adapt it to creating a TreeMap of Items. http://wiki.wendysmoak.com/cgi-bin/wiki.pl?DigesterLazyDynaBean -- Wendy Smoak

[digester] Re: Digester Quesion

2005-02-08 Thread Wendy Smoak
had 'Version' and 'Item' classes, and I talked you out of using them. (You said you wanted a TreeMap, so I helped you populate a TreeMap!) I think you were on the right track originally, see what you get for listening to me? :) -- Wendy Smoak

Re: [httpclient] How to send and recieve Serialized Object using Http Client

2005-02-08 Thread Wendy Smoak
to a base 64 encoded byte[]. You can see his message in the archives here: http://www.mail-archive.com/commons-user%40jakarta.apache.org/msg10036.html Info on subscribing to commons-user is here: http://jakarta.apache.org/site/mail2.html#Commons -- Wendy Smoak

Re: [httpclient] How to send and recieve Serialized Object using HttpClient

2005-02-09 Thread Wendy Smoak
a String constructor that takes a byte[], (and you can specify the charset if necessary). HTH, -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [httpclient] How to send and recieve Serialized Object usingHttpClient

2005-02-09 Thread Wendy Smoak
_think_ you're stuck on sending a base 64 encoded serialized object back to the client, but I'm not certain. If that's the case, please show the server-side code you're using to send the response, and then what you've done on the client. -- Wendy Smoak

Re: [httpclient] How to send and recieve Serialized ObjectusingHttpClient

2005-02-11 Thread Wendy Smoak
, and what your code is doing instead. ( http://www.catb.org/~esr/faqs/smart-questions.html ) Maybe try it with a Vector of String or Date objects, so that anyone who wants to try your code can do it without needing additional classes. -- Wendy Smoak

Re: [Digester] Bug in parsing of xml specified rule for call-method-rule?

2005-02-14 Thread Wendy Smoak
targetOffset, java.lang.String methodName)) Kartik, I opened a bug report for this and attached a patch: http://issues.apache.org/bugzilla/show_bug.cgi?id=33550 Feel free to offer up suggestions or attach another patch. I'd bet there are no unit tests, so it needs those also. -- Wendy Smoak

Re: [Digester] Unable to get validation working

2005-04-25 Thread Wendy Smoak
similar. The javadocs say that the getResource method delegates the call to its class loader after making some changes. HTH, Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: CSV parsing/writing?

2005-05-26 Thread Wendy Smoak
From: Chetan Sahasrabudhe [EMAIL PROTECTED] 3. xsl driven CSV conversions (CSV to XML, CSV to HTML, CSV to EDI, CSV to *new format*) Something I came across a while ago... it's a CSV to XML converter: http://www.dpawson.co.uk/java/csv2xml.html -- Wendy Smoak

Re: [beanutils] Should PropertyUtilsBean catch NoSuchMethodException?

2005-06-17 Thread Wendy Smoak
index); // indexed getter void setter(PropertyType values[]); // array setter PropertyType[] getter(); // array getter -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

[collections] Name that data structure

2005-07-03 Thread Wendy Smoak
to make it do what I want, does anyone have another suggestion? And what would _you_ call it? Thanks, Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [Net] Corrupt file when using FTP

2005-07-04 Thread Wendy Smoak
Error: File corrupt Am I doing something wrong? http://wiki.apache.org/jakarta-commons/Net/FrequentlyAskedQuestions (Third one down... you need to tell it you're transferring a binary file.) -- Wendy Smoak - To unsubscribe

Re: [collections] Name that data structure

2005-07-07 Thread Wendy Smoak
tremendously. -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [collections] Name that data structure

2005-07-12 Thread Wendy Smoak
? (Inefficient though it may be, first I just want to see it work.) Meanwhile, is there another way I can get the buffer to be in the correct LRU order? The LRUMap did work, but it's ugly having to put the empty String into the Map, when I don't need key/value pairs. Thanks, -- Wendy Smoak

Re: [collections] Name that data structure

2005-07-14 Thread Wendy Smoak
CircularFifoBuffer is really going to do it. I'll probably go back to LRUMap; it beats having to write and maintain it myself. :) Thanks, Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: httpclient javadoc

2005-07-20 Thread Wendy Smoak
menu under Project Documentation, Project Reports- JavaDocs http://jakarta.apache.org/commons/httpclient/apidocs/index.html -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [Digester] How to change when rules fire

2005-09-16 Thread Wendy Smoak
to fire before SetNextRule? help at all? http://wiki.apache.org/jakarta-commons/Digester/FAQ#head-0c420b259535afae9ed521d805ee9eaa2a93161c -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [chain] DTD/XSD of config-chain.xml

2005-12-18 Thread Wendy Smoak
On 12/18/05, Craig McClanahan [EMAIL PROTECTED] wrote: As usual in Apache land, we tried to stay backwards compatible with the old syntax, even though it ideally would have gotten pulled before the 1.0release. I would suggest sticking with the syntax that supports multiple catalogs, but with

Re: [beanutils] svn update

2006-01-22 Thread Wendy Smoak
On 1/22/06, Adam Hardy [EMAIL PROTECTED] wrote: [EMAIL PROTECTED]:/home/java/commons-beanutils/trunk$ svn up http://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk svn: 'http://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils' is not a working copy Which directory

Re: [FileUpload] filename upper/lower case issue for uploaded files

2006-03-24 Thread Wendy Smoak
On 3/24/06, David Zhang [EMAIL PROTECTED] wrote: I am writing a web page for uploading documents. I use FileItem.getName() to retrieve the original file name. However the string returned by this method contains lonly lower case letters. Why? How can I a filename with correct upper/lower

Re: [VFS] Snapshot timestamped version has disappeared from the m1 snapshot repo!

2006-07-26 Thread Wendy Smoak
On 7/26/06, Vincent Massol [EMAIL PROTECTED] wrote: Someone just told me that Cargo is not building anymore because the 20060719 snapshot is no longer there! I checked and it's not there... It looks like there is an automated process to keep a week's worth of nightly builds. Files from 7/20

Re: Commons-Configuration 1.3 and Maven2

2006-09-26 Thread Wendy Smoak
On 9/26/06, Robert Hedin [EMAIL PROTECTED] wrote: I just saw the announcement for Commons-Configuration 1.3 at http://jakarta.apache.org/ and thought I'd check it out. Actually looks pretty interesting, in fact it looks like I can use it to replace something similar we've been working on

Re: Commons-logging 1.1 POM: why isn't servlet-api scope=provided ?

2007-01-24 Thread Wendy Smoak
On 1/24/07, Simon Kitching [EMAIL PROTECTED] wrote: Well, actually, the dependency on servlet-api should probably be marked both optional *and* provided, in that it is not needed in order to use many JCL features, but if you do want to use the JCL cleanup on webapp unload then the supporting