I'm parsing the results of an <sql:query> statement in an <c:forEach>
loop
Something like
<c:forEach var="myVar" ..>
<c:out value="${myVar}" />
</c:forEach >
Works fine so far.
Now, one of the fields is a longInt and displayed as number - in fact,
though, it is an IP address and I want to display it as such.
Since I did not find any <fmt:xxx/> tags for formatting IP addresses, I
need to catch the value and format it by my own java servlet function.
So, the extract of my question is: how can I catch a variable that I
can display with "c:out" and pass it to my own java function?
Obviously, something like
<= myFunction( <c:out value="${myVar}" /> ) %>
won't work.
Thanx
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]