tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Casper Wandahl Schmidt" <kalle.pri...@gmail.com>
Subject RE: Pass an object from one Webapp to another on two differents servers
Date Mon, 03 Sep 2012 08:30:12 GMT
See inline, marked with ---- since Outlook does not like auto-indent when
replying

Med venlig hilsen/Kind regards
Casper/Kalle

-----Original Message-----
From: Léa Massiot [mailto:lmhelp1@orange.fr] 
Sent: 3. september 2012 09:47
To: users@tomcat.apache.org
Subject: Re: Pass an object from one Webapp to another on two differents
servers

According to the notations in my first post, the successive URLs are:
1) SERVER_1/WEBAPP_1/HTML_1
2) SERVER_2/WEBAPP_2/SERVLET_2
3) SERVER_1/WEBAPP_1/JSP_1

"SERVLET_2" does all the work it has to do using the information provided by
the user in the "HTML_1"'s form "F1".
When the work is over, "SERVLET_2" redirects towards "JSP_1"
It's a classical client <-> server scheme...

--------------
Cws: I thought that SERVLET_2 opened a connection to JSP_1 and retrieved the
output and then send that to the client as output for the client request til
SERVLET_2. That's why I thought that the client would still be on SERVER_2.
As it is now it makes perfect sense, now I just don't get why you needed to
transfer anything? Does SERVLET_2 contact JSP_1? What happens if that is the
case (you said you needed to transfer some information to SERVER_1, how is
that done)?

Maybe I'm jost lost on what you really needed and trying to solve a
bigger/harder problem than what you needed. If you current solution works
all should be fine and we should stop the discussion :)
--------------

But maybe I'm not getting properly your questions?

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-tp4985870p4986202.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



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


Mime
View raw message