struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sachin" <sachin.map...@patni.com>
Subject Is FormBean mandatory???
Date Mon, 08 Apr 2002 11:29:26 GMT
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-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message