I started an app where I have a client login and jump to a main menu.
>From that menu the client can modify their account info.  I have a
ClientInfoForm bean, a ClientInfoAction and a clientinfo.jsp input form.
I have also created a ClientInfoBean which has all of the business logic
to retrieve the clients info from the database and save it back out when
finished.

I have the ClientInfoForm doing all of the appropriate validation stuff
and the ClientInfoAction communicates fine with the ClientInfoBean to
save all of the data back to the database.  My problem is how and when
to get the ClientInfoForm bean to communicate with the ClientInfoBean so
that when the clientinfo.jsp form loads, the fields are properly filled
in.  Is it appropriate to create a constructor for the ClientInfoForm so
that when it is created the communication with the ClientInfoBean
happens then or is there a more appropriate way?

Thank you in advance,

-gerald

Reply via email to