> I need an answer to this in a hurry It's a big question - a hurried answer might be wrong.
> not had luck searching the archives. but there's lots of stuff there! Has anyone got this logic in a live system & can comment from practical experience? ----------------------- Hidden fields are passed into the form bean by struts (if they have a corresponding setter method) same as visible fields. So in your set of web pages each has every field on it. For each page the irrelevant fields are hidden. That would be OK. I suspect you might get problems if the user breaks up the flow of your app - the data in the request could get lost. Many people use a form Bean in the session which has every field in it. This keeps your jsp's cleaner (no hidden fields). You may have unwanted data left in the session if user doesn't complete the work flow. Also problems with session timeout when user didn't want to lose the data. Me I love databases & like to store things there, with status codes to indicate if data is valid &/or complete. For a little app I think your hidden fields theory is OK. If you are writing a Bank Account opening app, I'd use a database, you can't lose the data by mistake, which would annoy your potential customer. You could write a big article on this stuff & argue all day! Keith. --- "Folbrecht, Paul" <[EMAIL PROTECTED]> wrote: > Sorry for the basic question, but I need an answer to this in a hurry and > have not had luck searching the archives. All I need to know is: what is > the best, simplest mechanism to handle standard "feed-forward" data in > struts? I.e., you have a multi-part form, and the data from the first must > be stored (probably in hidden fields) in subsequent forms so it's all > available in the post from the last page (form). Of course I do not want to > store it in the session. I should be able to simple use form:hidden tags on > the 2nd and subsequent pages, right? But how do I populate them from the > incoming request? Thanks!! > > > > > This e-mail contains confidential and privileged material for the sole use > of the intended recipient. Any review or distribution by others is strictly > prohibited. If you are not the intended recipient, please contact the > sender and delete all copies. This message and/or the materials contained > herein are not an offer to sell, or a solicitation of an offer to buy, any > securities or other instruments. The information has been obtained or > derived from sources believed by us to be reliable, but we do not represent > that it is accurate or complete. Any opinions or estimates contained in > this information constitute our judgment as of this date and are subject to > change without notice. > __________________________________________________ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>