>Hi again, > >This is my present scenario. I have a page that contains a number of >checkboxes, which have been rendered using the struts multibox tag. The >user needs to select at least one or more checkboxes before they can >proceed. Once at least one check box has been selected I then proceed to >an >action. However when I do this, I notice that the checkbox values which >the >form bean have not been populated yet. On the other hand if I do a submit >first the values are populated just fine. Are you saying that if I forward >to an action that has a bean associated to it that the values within the >form bean will be populated as a result of this. > >How does this really work? > >Thanks for your speedy response. > >Lisa > >>From: Ted Husted <[EMAIL PROTECTED]> >>Reply-To: [EMAIL PROTECTED] >>To: [EMAIL PROTECTED] >>Subject: Re: html:link forward question >>Date: Tue, 23 Oct 2001 11:18:08 -0400 >> >>A page submits to an Action. If there is an ActionForm associated with >>the Action, it is automatically populated and handed to the perform >>method. The perform method returns an ActionForward, that could be >>another Action, a JavaServer page, or any other destination. So long as >>you continue to forward, rather than redirect, everything stays in the >>request. >> >>In a model 2 / MVC framework, links are generally made to servlet >>actions, and not directly to pages. The servlet actions (controller) >>then select which page comes next. >> >>lisa ward wrote: >> > >> > Hi, >> > >> > Can anyone please tell me how to achieve forwarding of one page to >>another >> > as well as have the information in the form submitted to the form bean >>in >> > the process. Is this this possible or do I just have the wrong idea. >> > >> > Please help. >> > >> > Thank you for your speedy response. >> > >> > Lisa >> > >> > _________________________________________________________________ >> > Get your FREE download of MSN Explorer at >>http://explorer.msn.com/intl.asp > > >_________________________________________________________________ >Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp >
_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp