tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Léa Massiot <>
Subject Re: Pass an object from one Webapp to another on two differents servers
Date Fri, 31 Aug 2012 09:42:52 GMT
(Warning: there is some "raw text" in this post.) 

Hello Casper. Hello list.
Thank you for your answer and your advices.

Here is some interesting litterature related to my problem:
      "Redirecting from a servlet to an exterior URL using a POST"

Which led me to write a programmatic POST using this code:
      "How to use HttpURLConnection POST data to web server?"

And, in "SERVLET_2", I replaced the code (see my first post in this thread)
with this one:

I guess my thread's title is not really relevant anymore because this code
doesn't literally "pass" an object from one webapp to another running on two
different servers...
What I'm doing here is "redirecting from a servlet to an exterior URL using
a POST".
I'm not really displaying "something user specific / session specific" but
Casper's comments are very interesting and may prove useful in the future
for me.

Thanks again :)
Best regards.

View this message in context:
Sent from the Tomcat - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message