This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
Hi all, This is a snippet of my jsp page using struts tags. When the jsp page displays, the value of 'totalNumber'(data type is long) bean property is appended with (unknown) just before the value. Say, if the totalNumber value is 100 it displays as (unknown)100. Anyone has got any clue on this? This is happening only for long data type.
I've never seen (unknown) appended to a value before, but here's one thing you might try: create a public String getFormattedTotalNumber() method on your bean that converts the long value to a String and returns it. Then change the property on your bean:write to "formattedTotalNumber". [ January 11, 2006: Message edited by: Merrill Higginson ]