| Author |
Passing data from one server to another in a secured manner
|
Dipti Karnataki
Greenhorn
Joined: Apr 23, 2009
Posts: 3
|
|
Hi
I want to send the data in a secured way from one jsp running on one application to another jsp running on other application when we do send redirect the values never persist. I want how can we achive this using J2EE.
Urgent help needed.
Thanks
|
DAK
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12324
|
|
A redirect creates a new request which is always a GET, therefore you can only pass parameters in the URL. Obviously you do not want to expose information in the URL because it will be visible.
One solution would be to use a database visible to both servers, create a single-use random ID and store the information you want to pass with that ID.
A JMS (Java Message Service) server visible to both would also work and has the advantage of automatically removing the message.
Bill
|
Java Resources at www.wbrogden.com
|
 |
 |
|
|
subject: Passing data from one server to another in a secured manner
|
|
|