Re: Struts and XSLT

2003-12-11 Thread matsuhashi
Peng Meimin wrote: I got a question with working structs and xslt together. I thought about, in case, how I would approach to a problem as yours. Just my idea. I will (1) transform Properties files into XML format in the deployment time. Develop a utility

Re: White Space

2003-12-04 Thread matsuhashi
the regexp pattern as you like. See http://ant.apache.org/manual/OptionalTasks/replaceregexp.html -- Regards, MATSUHASHI,kazuaki Japan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Taglig to write from a map with a key rather than an iterate?

2003-12-02 Thread matsuhashi
Is there a way to call something like a bean write taglib with a map key/value combination in jstl or something else? Thanks. I think the JSTL Core tag enables you to do it. See the JSTL1.0 specification document available at

Re: OT - parsing a TSV file in java

2003-11-11 Thread matsuhashi
Elliotte Rusty Harold's Java Network Programming section17.2.1 tab-seperated-values content handler shows a working example code. I think it is rude to copypaste the example here. It is just 20 lines of Java. - To

Re: Tags creating Tags

2003-10-26 Thread matsuhashi
Craig R.McClanahan wrote: To accomplish what you are after, you would need another layer of compilation. You'll need to come up with a different approach to accomplish what you are after. I think this link ( an article by Jason Diamon at xml.com) presents an example of what Craig calls another

Re: [OT] A date utility? anyone, pls help

2003-08-26 Thread matsuhashi
My favorite "Core Java" book proposes the "corejava.Day" class (see http://www.horstmann.com/corejava.html) which has int daysBetween(Day b) method. Tt calcurates the number of days between 2 dates, rather than "years". Do you want the number of years in fraction ( like

Re: [OT] A date utility? anyone, pls help

2003-08-26 Thread matsuhashi
, the author is granting free-reuse). However the good-old Core Java, vol I 4th edition published in 1999 is no longer available in the bookstore! MATSUHASHI - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: white space on jsp compile

2003-07-31 Thread matsuhashi
How about pre-processing JSL files by the Ant optional "ReplaceRegexp" task? Quoting from the manual, replaceregexp match="\s+" replace=" " flags="g" byline="true" fileset dir="${html.dir}" includes="**/*.html" / /replaceregexp this replaces all whitespaces