Web forms can only handle Strings and booleans - so if your value
objects have Dates or Integers, get ready for some fun!



> -----Original Message-----
> From: Sachin [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 09, 2002 1:47 AM
> To: [EMAIL PROTECTED]
> Subject: Is FormBean mandatory???
> 
> Hi
> 
> Action class interacts with a model,where business logic resides.In my
> project i have designed the model in such a way that there is mapping
of a
> table with a Value Object.So the Value Object will have a setter &
getter
> methods.(for eg. if there are 5 columns in a table,then Value object
will
> have 5 setter& getter methods ).
> 
> In action class i call some business methods which returns Value
Object
> .Then i put the Value Object in the session and retrieve the same in
jsp
> page with the help of iterate tag.
> In this scenario if i donot use form bean,then also i will be able to
> proceed in my jsp page.
> 
> Could anyone explain the pros & cons of not using form beans in my
project
> and are there any performance issues in this context??
> 
> 
> Thanks & Regards,
> Sachin
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:struts-dev-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:struts-dev-
> [EMAIL PROTECTED]>


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

Reply via email to