leo mj wrote:
mallik,

 use java.lang.Integer for integer and java.util.GregorianCalendar  for Time.

Yeah, but you don't really want to do that, either. You're best bet is to use String types for form-bean values, and convert to a different type while handing off to a model layer. Reasoning is that you don't want to lose a user's input while displaying a form validation error. This is how it used to be anyway, maybe there's a new feature that's changed this? Assuming there isn't, use Strings in form-beans, and convert to more specific types further down the chain in the request processing.


-Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to