• Post Reply Bookmark Topic Watch Topic
  • New Topic

Passing data from one server to another in a secured manner  RSS feed

 
Dipti Karnataki
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!