> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 03, 2004 8:49 AM > To: [EMAIL PROTECTED] > Subject: ActionForm vs Hibernate POJO > > > Hi all, > I am using Struts with Hibernate, and I was asked to reuse > the Hibernate > pojo as > forms for my actions. > > Is it possible ?
It is, but not recommended. Using a form with all strings allows the browser to show the user what they typed, even if it's incorrect. Using a POJO with primitives will not allow this normal ui behavior. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]