tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Léa Massiot <lmhe...@orange.fr>
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"
     
http://www.mail-archive.com/servlet-interest@java.sun.com/msg49110.html

Which led me to write a programmatic POST using this code:
      "How to use HttpURLConnection POST data to web server?"
     
http://www.xyzws.com/Javafaq/how-to-use-httpurlconnection-post-data-to-web-server/139

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: http://tomcat.10.n6.nabble.com/Pass-an-object-from-one-Webapp-to-another-on-two-differents-servers-tp4985870p4986091.html
Sent from the Tomcat - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message