I want to redirect the request to url in different application through https. Problem is I cannot use request.sendRedirect because contents of the original request, such as POST parameters, will be lost. Is there any alternative. Thanks
URL rewriting is for session management. Use a HttpClient to make a new post request.
SCJP, SCWCD, SCBCD, IBM CSD WebSphere v5, <br />A+, MCP 2000 and 2000 server, CST, and few incompleted certification tracks.<br /> <br />Ivory Coast<br /> <br />Analyze your web Request/Response @ <a href="http://webtools.servehttp.com" target="_blank" rel="nofollow">http://webtools.servehttp.com</a> down for a while...
Joined: Dec 19, 2000
Hi Brahim, Can you explain what is HTTPClient and how to use it. Thanks Shak
Joined: Aug 29, 2003
Originally posted by Shakti Sharma: Hi Brahim, Can you explain what is HTTPClient and how to use it. Thanks Shak
requestdispatcher.forward() can be used to call requests from a different application also. For that you need to have the servlet context of that aaplication. I do not have the exact code with me, but i know that it can be done. Would try to post the exact code when i get hold of it.