This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I read that ActionForms should use only String and Booelan properties. Is this a mandatory requirement ? What happens if I dont ? Also its advised that "ActionForm properties should be Strings so that any input can be captured, valid or not" Can somebody please explain the statement in " " ?
Where you found those statement ? Though browser passed the FORM parameters as stream of text, but its developer who know what is the data type of the form field passed. Setting the correct and expected data type guaranties the correct user data. The only constraint is NOT use any custom compounded class for property.