Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

struts - forward to external webapps

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have 2 webapplications. they are called MyHome and MyShop. When I login to MyHome, a form has to be submitted to MyShop. These two applications share different contexts and in production environment they are in different servers. So, my question is, Is it possible in struts to forward a request to an external application using the action -> forward or the global forward tags?

Thanks in advance,
Gowri Shankar
 
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how about using SwitchAction. I guess it does what you are trying to achieve.
 
Gowrishankar Mudaliar
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can't use SwitchAction because it is available from struts 1.1 only and the version of struts we are using in our project is older than that.

Thanks anyways and any other suggestion would be welcome too.

Gowri
 
Ranch Hand
Posts: 225
IBM DB2 Eclipse IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Vicky Pandya:
how about using SwitchAction. I guess it does what you are trying to achieve.



What does "Switch Action "... mean...
Is it like switching with Action clases...
[ April 30, 2005: Message edited by: Gowtham Ganamukala ]
 
Ganesh Gowtham
Ranch Hand
Posts: 225
IBM DB2 Eclipse IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Gowrishankar Mudaliar:
I can't use SwitchAction because it is available from struts 1.1 only and the version of struts we are using in our project is older than that.

Thanks anyways and any other suggestion would be welcome too.

Gowri



Hi Does ur old version of struts provide the Response.sendredirect( "url ");

g r ganesh gowtham
grgowtham_cse@yahoo.com
 
Gowrishankar Mudaliar
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can obviously use response.sendRedirect. But I am trying to strictly follow the struts framework. SwitchAction is another type of Action. It actually extends Action and could be found in the "org.apache.struts.actions" package.
 
Get me the mayor's office! I need to tell him about this tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic