aspose file tools
The moose likes Servlets and the fly likes Passing data from one server to  another in a secured manner Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "Passing data from one server to  another in a secured manner" Watch "Passing data from one server to  another in a secured manner" New topic
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
    
    1
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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Passing data from one server to another in a secured manner
 
Similar Threads
Passing data to two servlets?
Security options available with Webservices
how to send cookie from one jsp page to another jsp page or to servlet
navigate from unsecure to secure url
How can we send data from one jsp page to another jsp page