that should be easy. BeanUtils gives you the way to populate a MAP object from a Bean. Now al you need to do is iterate over keys, form a querystring with each name-value pair separated by &.
HTH Navjot SIngh >-----Original Message----- >From: Patrick Cheng [mailto:[EMAIL PROTECTED] >Sent: Monday, January 05, 2004 11:19 AM >To: Struts Users Mailing List >Subject: RE: Querystring builder > > >What I wanted to do is, at some point during the user is completing a >form,(multipage) >He can save the form. Instead of serializing the bean and saving Blob >in oracle, >I am trying to put things in a QueryString and save the string into >oracle. >And I want to populate that QueryString into a formbean when the user >resumes. > >Any tools? > >Thanks a lot. >Patrick. > >-----Original Message----- >From: James Mitchell [mailto:[EMAIL PROTECTED] >Sent: Monday, January 05, 2004 12:14 PM >To: Struts Users Mailing List >Subject: Re: Querystring builder > > >On Mon, 5 Jan 2004, Patrick Cheng wrote: > >> Hi All, >> >> I have been trying to find helper class to build QueryString from >> javabean. Does anyone know of any tool like this? > >What are you wanting to do? Add parameters from your bean? > >> >> Thanks, >> Patrick. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > >-- >James Mitchell >Software Developer / Struts Evangelist http://www.struts-atlanta.org > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]