This is wonderful!! Now it's working great!
Thank you so much Ted!
P.S
In case someone also wants to use this approach, after populate the profile
info and put the bean into request, you have to do:
request.setAttribute("profileForm", formObj) instead of
request.setAttribute("baseForm", formOb
ofileForm into a single coarse-grained form. Then you could simply
set the additional properties, rather than instantiate another object.
> http://www.mail-archive.com/[EMAIL PROTECTED]/msg12356.html
>
> -----Original Message-
> From: Joseph Yang [mailto:[EMAIL PROTECTED]
> Sent: We
Hello,
I have two pages: login.jsp and userProfile.jsp
I defined two DynaActionForm(s) in struts-config.xml: loginForm and
userProfileForm
Now inside loginAction class, after handle the authentication, I want to get
the user profile information from database, then instantiate userProfileForm
and
Hi everyone,
I have a login page and client profile page(name, phone, address...), after
login, the client's information will be displayed so the client can modify
When I use ActionForm (clientInfoForm), in loginAction, I get the
information for the client, set up the setters of clientInfoForm, p
4 matches
Mail list logo