Struts2 QUERY Regarding Built in Type Conversions in Struts2 Framework
posted 6 years ago
This is the statement in Apache site .
By default, Struts2 automatically converts many common types between the String value
received as a form field value and the object or primitive type that is to be set on the action.
These include boolean, Boolean, char, Character, int, Integer, float, Float, long, Long,
double, Double, and Date.
As usual i failed to understand the above
When the user enters some number in textfield (This will be in a String Format)
And in my Action class i have a property called number with int type
Will the conversion takes place automatically ?
Please help to learn a drop in this struts2 ocean
If you want something you never had do something which you had never done