commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc DEXET <Marc.De...@dsi.cnrs.fr>
Subject [betwixt] How to use comma-separated attribute value
Date Wed, 05 May 2004 10:12:38 GMT
Hello people.

How can I use comma-separated (Tomcat like) attribute value to map
value-to-string-array ?

Example : I get a attribute like this :
<element att="val1, val2, val3" >

and I would have a parsing output Bean with

String[] atts = { "val1", "val2", "val3" };

Is it possible ?

Thanks

............................................
Marc DeXeT
Direction des Systèmes d'Informations
Centre National de la Recherche Scientifique
                ~ * ~
Information System Direction
National Center for Scientific Research
http://www.cnrs.fr 
............................................

- I haven't forgotten Jelly, I have just no time - 


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message