Thanks Ken It's just the first part I don't understand. How do I fire off an Action, before going to the form for the first time? Also, how do I tell the Action which form to use?
Thanks Marcos > -----Original Message----- > From: Fletcher, Ken [mailto:[EMAIL PROTECTED]] > Sent: 16 November 2001 15:22 > To: 'Struts Users Mailing List' > Subject: RE: Please help - I'm not getting anywhere with this > > > Create an action class that sets the form bean's field, then > add the form > bean to the request before you forward to that page. You'll > also need to > use the appropriate tag in your jsp: > <html:text name="tradeProduct" property="ISIN"............/> > ...and, of course, have your form defined in your > struts-config.xml, etc., > etc.... > > -----Original Message----- > From: Scriven, Marcos [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 16, 2001 8:53 AM > To: 'Struts Users Mailing List' > Subject: Please help - I'm not getting anywhere with this > > > Any ideas? > > > -----Original Message----- > > From: Scriven, Marcos > > Sent: 16 November 2001 11:00 > > To: 'Struts Users Mailing List' > > Subject: Struts JSP not reading parameters from URL > > > > > > Hi > > > > I've got a JSP which when rendered contains the line: > > > > <input type="text" name="tradeProduct.ISIN" > > maxlength="17" size="17" > > value="" onblur="javascript:validateName(this);" class="form2"> > > > > Now, if I open this page with the URL > > mypage.jsp?tradeProduct.ISIN=abcd > > > > The ISIN field is not set - I fear it's being ignored, and > > then set from the > > form bean. > > > > How, therefore, do I set the form field to a value when it is > > first loaded? > > Basically, I want to load this page with the ISIN number of > > the product I > > wish to edit. > > > > Thanks > > > > Marcos > > > > -- > > 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]> > > -- > 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]>