Ok, thanks Mark. I'll have to give that a try. ~ Keith http://www.buffalo.edu/~kkamholz
-----Original Message----- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 11:55 AM To: 'Struts Users Mailing List' Subject: RE: Pre-Populating Form There are two ways: 1. Use session.setAttribute() instead and access the attribute in the 2d JSP form; 2. (preferable) In your Action class, use MyActionForm myActionForm = (MyActionForm) form; synchronized( myActionForm) { myActionForm.setWhatever( request.getParameter( "updatedValue"); } and have either <bean:write> or <html:text> get the value from the updated formbean. Mark -----Original Message----- From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 10:56 AM Hey everyone, I have a list of information entries on my JSP page. I have a link next to each to edit it. The link works fine, and the action knows which index was clicked. However, I need to populate the from on the following JSP before the user reaches it. I'm trying to just use request.setAttribute(), but it's not working, probably because request refers to the page the link was on, not my form page. How do I pre-populate the form? I know that if the bean was in the session, I could just set the attribute, but I'm trying to figure out how to manage things in request. I looked in the archive some, but didn't see anything. Any help would be greatly appreciated! ~ Keith -- 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]>