I am using struts2 for my application. I entered value as 325432547. In Edit mode value shows as 3.2543254E7. In text box to avoid it?
<s:textfield name="lstVehicleAttendance(%{#attr.row_rowNum-1}).closingTime"
id="closingTime" maxlength="20" size="20" value="%{#attr.row.closingTime}">
</s:textfield>
You might want to define following in
default propertiesAnd call
getText(...)froms:textfieldSee http://struts.apache.org/2.0.14/docs/formatting-dates-and-numbers.html for more details