struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anjali Jain <Anja...@NIIT.com>
Subject preloading the values of next pageAction form in Action of previo us page.
Date Thu, 06 Jun 2002 08:37:15 GMT
Hi All,

Scenario:
End User is shown the list of all users of the application. Clicking on user
name, the details of that particular user should be shown.

Requirement:
how to populate the user details to the UserDetails.jsp

Files used:
ListUser.jsp -- shows the listing of the users
ListUserForm.java --- ActionForm for ListUser.jsp
ListUserAction.java -- Action class for ListUser.jsp

UserDetails.jsp --- shows the details of the particular user
UserDetailsForm.java -- ActionForm for UserDetails.jsp
UserDetailsAction.java --Action class for UserDetails.jsp

My approach:
 in ListUserAction.java:
extracting the values of user details from the database . 
Setting the details of the user in the request attribute.

In UserDetails.jsp
retrieving the values from the requestAttribute an' showing on to the jsp


Please tell me how to populate the from bean of the next page i.e from
ListUserAction.java, how to populate the UserDetailsForm.java and the show
the values on UserDetails.jsp


thanx a lot
-------------anjali



Power your enterprise with custom solutions in eLearning and Knowledge
Management from NIIT - Knowledge Solutions. For details visit our website
http://www.ksb.niit.com 

___________________NOTICE____________________________ 
This electronic mail transmission contains confidential information intended
only for the person(s) named.  Any use, distribution, copying or disclosure
by any other person is strictly prohibited. If you received this
transmission in error, please notify the sender by reply e-mail and then
destroy the message.  Opinions, conclusions, and other information in this
message that do not relate to the official business of NIIT shall be
understood to be neither given nor endorsed by NIIT When addressed to NIIT
clients, any information contained in this e-mail is subject to the terms
and conditions in the governing client contract.

--
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