I have two web applcations which are running under one webserver.I want to make communication between two web applications.
Can anyone help me out on this.
Thanks in advance.
Joined: Jul 30, 2006
Hi Lakshmi, it is quite simple.In order to esablish communication between two web applications running in the same web container,we use RequestDispatcher.forward() method. For Ex app-x and app-y are two web applications running in Tomcat.
using anotherapp ref we can access the objects in app-y application. We can use rd.forward() to forward to the resource available in another web application. [ February 10, 2007: Message edited by: Janakiram Gattupalli ]
Joined: Mar 22, 2005
What exactly do you mean by communication? Do you have data or objects that you would like to share between both? Or do you want to send messages from one to the other?