struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edson Alves Pereira" <lottal...@gmail.com>
Subject Re: How to create an action-mapping to another contaxtPath?
Date Mon, 05 Mar 2007 15:07:13 GMT
  Those server are real separate applications, they are two EAR deployed in
the same J2EE server. Can i use SwitchAction to manage that?

On 3/5/07, Joe Germuska <joe@germuska.com> wrote:
>
> If you actually ran these as two separate modules in a single Struts app,
> then you could use the module switching facilities.  See
>
>
> http://struts.apache.org/1.x/userGuide/configuration.html#module_config-switching
>
> If they are two separate web applications, then there is no built-in way
> to
> help one know about the other.  You pretty much have to forget that they
> are
> on the same machine.  You'd have to use redirects to send users over to
> the
> other app, and you'll have to go to some  lengths to share any kind of
> state
> between the two webapps.
>
> Joe
>
>
> On 3/5/07, Edson Alves Pereira <lottalava@gmail.com> wrote:
> >
> >   Hello folks, i must use from my application an action from another
> > struts
> > application, both servers are in the same machine, for example:
> >
> >   /server1/initProccess.do send a forward to /server2/fillStatements.do
> >
> >   Regards,
> >   Edson
> >
>
>
>
> --
> Joe Germuska
> Joe@Germuska.com * http://blog.germuska.com
>
> "The truth is that we learned from João forever to be out of tune."
> -- Caetano Veloso
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message