Hi,

Forms are associated with the name of mapping in the mapping scope, either
request or session. If your second page is result of a forward of the action
defined by the mapping, with correct scope, and the same name of mapping, it
would be automatically populated by struts.

Chen

-----Original Message-----
From: yanming lu [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 11, 2002 1:26 PM
To: [EMAIL PROTECTED]
Subject: one action from shared with multiple jsp pages


How does struts pass a selected item from one jsp page to another?

Here is what we'd like to do:

there is one form including 2 fields: name of text field and department of 
selection field (could be multiple selection).

there are two pages which share this form. page 1 to select number of 
department, second page to enter name.
How do we pass the selected department(s) to the second page and when the 
name is entered, we could save both data?

Thanks,

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to