Mike, Using hidden fields is the general practice as it allows you to "distribute" the conversation state of the session to the clients and makes your app more scalable. Use session with care. You need to consider multi-threading and concurrent-request issues if the data is stored in the session. At 02:15 pm 11-09-2002, you wrote: >You do understand me! :) >I use a hidden field now. I was trying to get away from that though so the >user will not see it. I may have to put it in the session. >Any ideas? >thanks, >Mike > >----- Original Message ----- >From: "John Yu" >To: "Struts Users Mailing List" >Sent: Tuesday, September 10, 2002 10:09 PM >Subject: Re: set a value from a form to a form > > > > Mike, > > > > If I understand you correctly, you want to retain the value when the form > > is submitted. One option is to use to display the value and > > use to retain the value for form submission. > > > > > > Prop1: > > > > ... > > > > > > The value is *not* retained in a bean. It's just resubmitted as an URI > > parameter. If you let Struts do the auto formbean population, you will get > > it in the actionform object. > > > > Bean created by in the request scope will "disappear" >because > > whenever you submit the form, that's a complete new request. > > > > > > At 06:36 am 11-09-2002, you wrote: > > >I have a form object that populates html fields. The problem is, I want >to > > >display some of the form data and have it uneditable. When I submit the > > >form loses all the data that is not in an html:.. tag. > > >I've tried... > > > > > scope="request" toScope="request"/> > > >but this doesnt seem to work > > >thanks, > > >Mike > > -- John Yu Scioworks Technologies e: john@scioworks.com w: +(65) 873 5989 w: http://www.scioworks.com m: +(65) 9782 9610 Scioworks Camino - "Don't develop Struts Apps without it!" Copyright (c) 2002 John Yu/Scioworks Technologies. All rights reserved. -- To unsubscribe, e-mail: For additional commands, e-mail: