Subject: Turning an ActionForm into a querystring From: "Preston Crawford" <[EMAIL PROTECTED]> === I was wondering if Struts had anything built in to do the following.
We have a request to make certain pages on the site printable. That should be easy with struts. Only problem is, if the page has been built from a search, how to create the "print" button. Obviously the link for the print button has to include a querystring identical to the one that produced the search results the user is currently looking at. In our case, the search results get cast into an ActionForm bean... ParticipantSearchRequest participantSearchRequest = (ParticipantSearchRequest) form; What we'd like to thus do is traverse the members of this class (participantSearchRequest) and produce name/value pairs.... Name=name So in the end we can have a querystring... url?Name=name&SSN=ssn ..that is equal to the ActionForm bean. Is there anything inherent in struts that would allow us to print out this bean without having to actually iterate the methods manually, invoke them, etc.? Preston -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

