If it is a servlet to servlet communication
=> are you talking:
1) of a servlet forwarding a request to another servlet or JSP before reponding to the client?
2) of a servlet processing a request, saving some info about it, sending a response to the browser and expecting to get the info back when getting another request from the save client?
In the first case, you would rather put your info in an
attribute of the ServletRequest and not in a a
parameter. This info disapears as soon as the response is sent to the client. Have a look at ServletRequest.setAttribute(
String, Object).
If you want to keep some info during several requests of the client, you wan to put the attribute in the HttpSession. Have a look at ServletRequest.getSession() as well as at this encoreURL thing.
Cheers