Re: post parameters
Paul Copeland <[email protected]>
| Newsgroups | gmane.comp.java.sun.servlet |
|---|---|
| Organization | JOT Object Technologies |
| Message-ID | <[email protected]> |
You can save the Map object returned by request.getParameterMap(). That could be saved in the Session (probably not a scalable solution) or persisted in a serialized object. This can be re-sent to the servlet later with a java.net.HttpURLConnection. Set the Content-Type to multipart/form-data or application/x-www-form-urlencoded and follow the specification for the mime type to write the parameters back into the new HTTP request. Paul Copeland JOT Servlets - A Framework for Servlet Applications http://www.jotobjects.com > Date: Wed, 27 Aug 2003 03:51:43 -0600 From: Amr Mostafa > <[email protected]> Subject: post parameters > > Have anyone tried to save the whole paramters sent associated with > post query and reused them later for calling the same servlet? > > TIA > ___________________________________________________________________________ To unsubscribe, send email to [email protected] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html