commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Libbrecht <p...@activemath.org>
Subject NumberFormat exception when building iterator ?
Date Fri, 24 Jan 2003 10:48:52 GMT
	
Hi,

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


Mime
View raw message