Re: [OT] Convert Java Object into XML. Is there a simple tool in Jakarta projects or elsewere

2005-06-17 Thread PA
somewhere. Elsewhere: http://xstream.codehaus.org/ Further afield: http://alt.textdrive.com/pl/ Cheers -- PA, Onnay Equitursay http://alt.textdrive.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

Re: How to search this list?

2005-03-18 Thread PA
On Mar 18, 2005, at 19:36, jelything wrote: What is the best way to access this list if you wanted to search it? http://zoe.nu/ Cheers -- PA, Onnay Equitursay http://alt.textdrive.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Sorting of array lists

2005-03-10 Thread PA
tions.sort() and/or java.util.Arrays.sort(). http://alt.textdrive.com/assets/public/lucene-1.4.3/ java.lang.Comparable.cls.html http://alt.textdrive.com/assets/public/lucene-1.4.3/ java.util.Comparator.cls.html Cheers -- PA, Onnay Equitursay http://alt.tex

Re: Why Template Method instead of Strategy in Commons Chain?

2005-03-09 Thread PA
er's 'A Pattern Language' into Software Architecture" -- Rohit Khare, April 19, 1995 http://xent.com/~rohit/Alexander.htmld/ Cheers -- PA, Onnay Equitursay http://alt.textdrive.com/ - To unsubscribe, e-mail: [EMAIL

Re: [OT] Poll: Does Dakota Jack have a job? :)

2005-03-08 Thread PA
On Mar 08, 2005, at 17:22, Brady Hegberg wrote: [...] new experimental AIs [...] to create a weekly summary. http://en.wikipedia.org/wiki/Markov_chain Cheers -- PA, Onnay Equitursay http://alt.textdrive.com/ - To unsubscribe, e

Re: [OT] Content Management Systems

2005-02-11 Thread PA
Considering the URLs... not worth it. Cheers -- PA, Onnay Equitursay http://alt.textdrive.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT] Content Management Systems

2005-02-11 Thread PA
t0175880/ Ooops... wrong link... here you go: http://www.magnolia.info/en/community.html Cheers -- PA, Onnay Equitursay http://alt.textdrive.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT] Identify web user in intranet

2005-02-11 Thread PA
, etc. It's just a question of setting this up. Keep in mind that you can very easily access DNS informations through JDNI: http://java.sun.com/j2se/1.4.2/docs/guide/jndi/jndi-dns.html Cheers -- PA, Onnay Equitursay http://alt.textdriv

Re: [OT] Identify web user in intranet

2005-02-10 Thread PA
On Feb 10, 2005, at 16:44, PA wrote: Well... there is no simply solution to this problem... to make matter worst, you have dynamic IP address... sigh... Couple of options: Forgot one more option: - If your are in a Windows environment, you could leverage information from CIFS's UniAd

Re: [OT] Identify web user in intranet

2005-02-10 Thread PA
identify a machine on an intranet one way or another if you really want to :) Cheers -- PA, Onnay Equitursay http://alt.textdrive.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: WAY OT Database Crossroads

2005-02-01 Thread PA
ow. Static inner class is perhaps a misnomer, as they get tainted by associations with their degenerated cousins, the "inners". In a nutshell, static don't share anything with their enclosing class except being in the same source file. Think of them more in terms of "packaging&q

Re: WAY OT Database Crossroads

2005-02-01 Thread PA
may not be suitable for children. Cheers -- PA, Onnay Equitursay http://alt.textdrive.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: WAY OT Database Crossroads

2005-02-01 Thread PA
le/pl/PLWriter.java Check the writeObject() instance method. Cheers -- PA, Onnay Equitursay http://alt.textdrive.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Validation on length of fields destined for UTF-8 database?

2005-01-28 Thread PA
On Jan 28, 2005, at 18:57, Janice wrote: something quick and dirty Ooops... forgot about the obvious... aString.getBytes( "UTF-8" ).length Cheers -- PA, Onnay Equitursay http://alt.textdrive.com/ - To unsubscribe, e-ma

Re: Validation on length of fields destined for UTF-8 database?

2005-01-28 Thread PA
On Jan 28, 2005, at 18:57, Janice wrote: I'm hoping there's something quick and dirty new DataOutputStream( aByteArrayOutputStream ). writeUTF( aString ) aByteArrayOutputStream.size() Quick and dirty it is :P Cheers -- PA, Onnay Equitursay http://alt.tex

Re: [OT] Are you using Tapestry?

2005-01-27 Thread PA
pdate Delete" operations can be applied to both, no? Cheers -- PA, onnay equitursay http://alt.textdrive.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT] Are you using Tapestry?

2005-01-27 Thread PA
y concern themselves directly with such mundane persistency issues? I was under the impression that no, they don't. Did I miss something? Cheers -- PA, onnay equitursay http://alt.textdrive.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT] Are you using Tapestry?

2005-01-27 Thread PA
ork. Hmmm... care to elaborate and expend a bit on that line of thoughts? Concrete example would greatly help in understanding what precisely "doesn't work" as you see it. As an asside, are you familiar with Zope's ObjectPublishing? http://zope.org/Documentation/Books/ZDG/current/

Re: [OT] a java question

2005-01-26 Thread PA
accessing some static junk. Refer to the 36 previous replies outlining the 500 different ways to achieve this ambitious goal. Sorry. I need to reboot now. Cheers -- PA http://alt.textdrive.com/ - To unsubscribe, e-mail: [EMAIL

Re: [OT] a java question

2005-01-26 Thread PA
one of its creator: http://www.textism.com/ In other words, I didn't do it :) Cheers -- PA http://alt.textdrive.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT] a java question

2005-01-26 Thread PA
On Jan 26, 2005, at 20:20, Cedric Levieux wrote: if (! isInitialzed) Shouldn't you throw one exception or two for good measure? Cheers -- PA http://alt.textdrive.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

Re: [OT] a java question

2005-01-26 Thread PA
On Jan 26, 2005, at 20:28, Ashish Kulkarni wrote: that is what i am going to do, Gotta do what you gotta do. But at least don't use any spurious boolean to keep track if a variable has or has not been set. After all, Java doesn't define 'null' for nothing. Cheers -- PA http

Re: [OT] a java question

2005-01-26 Thread PA
On Jan 26, 2005, at 20:16, Erik Weber wrote: There is more than one approach. Alternatively you can still use a final, but only assign a value to it upon initialization. No further change will be allowed after that. So many obscure ways to shot yourself in the foot :o) Cheers -- PA http

Re: [OT] a java question

2005-01-26 Thread PA
On Jan 26, 2005, at 20:15, Ashish Kulkarni wrote: public static setData(String input) By making it private perhaps? Alternatively, I would recommend some readings: http://java.sun.com/docs/books/tutorial/java/index.html Cheers -- PA http://alt.textdrive.com

Re: [OT] a java question

2005-01-26 Thread PA
On Jan 26, 2005, at 20:08, Ashish Kulkarni wrote: how do i protect it from updated by any other class. Just don't. Use a static accessor method instead. Cheers -- PA http://alt.textdrive.com/ - To unsubscribe, e-mail: [

Re: open new window form struts action

2005-01-19 Thread PA
open external link in "target = 'externalLink'"). Cheers -- PA http://alt.textdrive.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: open new window form struts action

2005-01-19 Thread PA
w.w3schools.com/tags/tag_a.asp Cheers -- PA http://alt.textdrive.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Property file question

2005-01-13 Thread PA
basic things like Map and Collection: http://alt.textdrive.com/pl/3/pl-the-format http://alt.textdrive.com/assets/public/PL-ABNF.txt As well as a drop-in replacement for java.util.Properties: http://alt.textdrive.com/download/6/pl-the-download Cheers -- PA http://alt.textdrive.com

Re: cache problem

2005-01-07 Thread PA
On Jan 07, 2005, at 18:21, Chaikin, Yaakov Y. wrote: Very interesting... Is this legal according to the HTML spec? Hmmm... more like cargo cult perhaps. -- http://zoe.nu/ http://alt.textdrive.com/ - To unsubscribe, e-mail: [EMAIL

Re: cache problem

2005-01-07 Thread PA
ml Another good reading is "Common HTTP Implementation Problems": http://www.w3.org/TR/chips/ Cheers, PA. -- http://zoe.nu/ http://alt.textdrive.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]