Jen, it is standard practice for an ActionForm to contain only string properties. The reason is if validation fails, you want to return the text as-is as it was inputted. Once you have successfuly validated the ActionForm, then copy your form properties into your model object.
Caroline Jen <[EMAIL PROTECTED]> wrote: The Java "types" of the properties in my form bean sometimes are not the same as those of the data fields in my database. The request.getParameter(); always return a String. I can use the copyProperties() method of the BeanUtils to convert all the String(s) read from the web page to proper Java "types" in my form bean. What do I do when the property type in my form bean does not match the data field type in my POJO bean? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2ยข/min or less.