A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Arduino in Action
this week in the
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
Passing data from one server to another in a secured manner
Joined: Apr 23, 2009
Sep 09, 2010 05:38:25
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
Urgent help needed.
Author and all-around good cowpoke
Joined: Mar 22, 2000
Sep 09, 2010 07:39:03
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.
Java Resources at
I agree. Here's the link:
- 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
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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013