struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "SATISH.T" <>
Subject RE: preloading the values of next pageAction form in Action of previous page.
Date Thu, 06 Jun 2002 09:00:13 GMT
 When u show the list of values(I guess ur showing the user name as a
href) , I guess u can u can hard code the mapping for your next action
class (UserDetailsAction) and also pass the id of the user as a
parameter by appending to the url .You can call a javascript function to
do all this.
In ur UserDetailsAction, do a req.getParameter for that id,fetch the
user details  and show the user details page..
Hope it helps!

-----Original Message-----
From: Anjali Jain [] 
Sent: Thursday, June 06, 2002 2:07 PM
Subject: preloading the values of next pageAction form in Action of
previous page.

Hi All,

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

how to populate the user details to the UserDetails.jsp

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

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

My approach:
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

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

thanx a lot

Power your enterprise with custom solutions in eLearning and Knowledge
Management from NIIT - Knowledge Solutions. For details visit our

This electronic mail transmission contains confidential information
only for the person(s) named.  Any use, distribution, copying or
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
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
clients, any information contained in this e-mail is subject to the
and conditions in the governing client contract.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message