This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
If you need to pass few parameters only to the server , try response.Redirect
Joined: Oct 12, 2000
Originally posted by Larry Cryderm: I thought of that, but didn't know if serialization was involved. Do you have a recommendation? Thanks.
You can't serialize objects over a network during a forward. You'd need a special mechanism you will have to write yourself to handle it, and send all the data before you do the forward, then in the receiving servlet read in that information based on whatever (maybe use a fixed name, but that's obviously risky as you can't handle more than one request that way).
No, it is not going to be pretty. Better just create a new URL and do a POST request to the other machine making sure all relevant data from the session and request are turned into HTML parameters (meaning essentially plain text in the HTTP headers).
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...