Howdy, The query string is preserved in GET requested. I assume you meant there are important request parameters in the POST that are dropped when changing to a GET.
One thing you can do is a RequestDispatcher#forward instead of a sendRedirect. Obviously you can only do this within the same host. Otherwise you can take all the request parameters and put them on the query string. Then you run the risk of the query string being too long though ;( Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] >Sent: Friday, November 21, 2003 3:45 PM >To: 'Tomcat-User List' >Subject: How to redirect to another servlet as POST? > > Hello folks, i�m trying to redirect my request to another servlet, >but this cannot be interpreted as GET, i need POST request. How can i do >that? This because there are some important values in this QUERYSTRING, and >nobody can see them. > > Regards, > Edson This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
