I've found need to do this myself before. It ended up being a big mess. Fortunately for me I only had a few pieces of data that needed sharing back and forth, so I simply used Cookies to save myself a ton of time. However, it is not a graceful solution, and as eric has stated, it is a shortcoming...
Andy Miller IS Designer Butte College 530.895.2946 -----Original Message----- From: Eric Dahnke [mailto:[EMAIL PROTECTED] Sent: Thursday, June 22, 2006 12:45 PM To: Struts Users Mailing List Subject: Re: Communicate between two struts apps AFAIK, if the applications are in two separate contexts there is no way to share data between them using a common session. You'll be forced to do something kludgy and authenticate to both systems and maintain two sessions. I would love to see a thread started about this because it is a big shortcoming I come up against frequently in Java. That is, different wars and contexts are a great way to separate and manage different large scale projects, but when it comes time to piece it back together as part of a large possibly modular application, yr fcked. Siteminder (a proprietary product) is a way to get around this and is Java friendly, but don't know how it works. On Thu Jun 22 13:10:18 EDT 2006, Wen-Jung Chen <[EMAIL PROTECTED]> wrote: > Hello, > > We have two struts applications which are planning to be created > as two war > files and deployed as one ear file on application server. We > develop one > struts app and other team develops another one. The requirement > for us is > their struts application will call our action method to invoke a > window on > our side. Does anyone know how their struts app can invoke our > action > method? I was told that they can use url redirect by using url we > provided > so we can popup a window for them. Is this right way to do it? Is > there any > other better way to handle this since we are located in two > different jvm? > And also if we want to pass data back so they can display > message on their > screen, are we still use same way such as url direct to pass data > as request > parameter to them? > > Please help. > > Thanks, > Wen-Jung > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]