Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@apache.org Received: (qmail 68122 invoked from network); 28 Feb 2003 17:51:27 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 28 Feb 2003 17:51:27 -0000 Received: (qmail 15715 invoked by uid 97); 28 Feb 2003 17:53:06 -0000 Delivered-To: qmlist-jakarta-archive-struts-user@nagoya.betaversion.org Received: (qmail 15708 invoked from network); 28 Feb 2003 17:53:05 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 28 Feb 2003 17:53:05 -0000 Received: (qmail 66271 invoked by uid 500); 28 Feb 2003 17:51:06 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 66258 invoked from network); 28 Feb 2003 17:51:06 -0000 Received: from merc61.na.sas.com (149.173.6.14) by daedalus.apache.org with SMTP; 28 Feb 2003 17:51:06 -0000 Received: from merc11.na.sas.com ([10.19.11.21]) by 10.19.11.2 with InterScan Messaging Security Suite; Fri, 28 Feb 2003 12:50:56 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.6344.0 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: one more prepopulate question Date: Fri, 28 Feb 2003 12:50:56 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: one more prepopulate question Thread-Index: AcLe4p+kJAv+Dq7XQ/64J5Dy9EBg3gAbmz2Q From: "Sri Sankaran" To: "Struts Users Mailing List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Here's what you are trying to do index.jsp=20 -> redirects to index.do -> needs to build a bunch'o forms -> forwards to home.jsp Am I understanding you correctly? The action corresponding to the path "index" can create any number of = form-beans and persist them in any scope before forwarding to home.jsp. = Now home.jsp, has several s; which implicitly means that it = expects several form-beans. These are available courtesy the = aforementioned action. Where are you running into a problem? Sri -----Original Message----- From: Dan Allen [mailto:dan@mojavelinux.com]=20 Sent: Wednesday, February 26, 2003 7:52 PM To: struts-user@jakarta.apache.org Subject: one more prepopulate question I know that the prepopulate question has been beaten into the ground = around here and the answer on the FAQ page is complete in answering most = questions I have about the concept. But I just want to run something by = this list, see if I am going about it in the right way. When you are designing an application, and the index page has several = mini-forms (such as a limited search, a login and maybe a site index) = the first page has to be a *.do page. So I figured, make an index.jsp = page with Then my /index action would prepare the forms and display /home.jsp. The = FAQ talks about putting the form population in the Action class for the = /index action, which works great... ...except, how would you populate more than one form? Seems like in the = cast you limit yourself to the form defined in the action mapping. = Would it be necessary to just set up an action chain? Dan --=20 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -=20 Daniel Allen, http://www.mojavelinux.com/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -=20 Real programmers just hate to get up in the morning, and=20 contrary to Ordinary People, they're in better shape as=20 it gets closer to nighttime. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -=20 --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org