Hello,
I have a problem w/communicating data from one servlet to another.
In resin.conf:
<web-app id='C:\apps\mytestapp'/>
My two servlets reside in the declared web-app.
I have servlet1 that Posts data to an outside thirdpart (ie different domain) servlet. The third party servlet responds, posting data to my other servlet, servlet2.
Servlet2 receives data that I want to communicate back to Servlet1.
I have tried doing:
req.getSession().getServletContext().setAttribute(
"servlet2Data", myData);
That does not work. I see that the session IDs are different.
The data is sensitive so, I need to be careful in how I pass it around.
Suggestions?