You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Paul Libbrecht <pa...@activemath.org> on 2003/01/24 14:08:49 UTC

[jelly] NumberFormat exception when building iterator ?

OK,

I guess we're all victim of email-clients auto-fills, I never filled 
Jakarta list, I'll try to pay attention...
And here we are with the appropriate jelly header.

Paul


Le Vendredi, 24 janv 2003, à 13:58 Europe/Berlin, James Mitchell a 
écrit :
>> The following jelly snippet provides me a
>> java.lang.NumberFormatException but works... it's kind of weird, the
>> error sort of means that evaluateAsIterator of a StringTokenizer
>> actually requires to convert the string being tokenized into
>> a double...
>>
>> 	<j:set var="blop" value="the value of blop"/>
>> 	<util:tokenize var="blop-cut" delim=" ">${blop}</util:tokenize>
>> 	<j:forEach items="${blop-cut}" var="token">
>> 		<log:info>Found word "${token}"</log:info>
>> 		</j:forEach>
>>
>> Paul