Hi, I need to redirect from a JSP page to an existing ASP page. I realized that I can use a request.sendRedirect(), however, I also need to send some new parameters (along with those I received through an earlier POST to my JSP page) to the ASP page. I am required to use POST because the ASP page is *expecting* a POST. Unfortunately, I cannot change the existing ASP page to use GET. Would appreciate any help. Thanks! -- Josh
Hello. every1, I had the similar problem now. how do you make it right finally? as I know, sendRedirect() is just load another pages. the redirect page I want to is also just support "POST" to get the param that I send it eariler. Thanks in advance.
This can be done pretty easily.. I have done this with a standalone java program and am sure it could be done by setting the appropriate header methods.. I dont have the time to try this today, so i''' just paste the java code i used and you could use it as a startting point. What is the data you need to send as a POST ? If its a username password, you will have to encode it.. Basically, you need to understand the HTTP format that your asp page is expecting and duplicate it using jsp.