• 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
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Struts Modules

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a J2ee project which uses usual J2EE concepts, Servlets and a jsps. Recently i added a new module into this project which uses Struts frameworks. These modules need to talk with each other.

I was able to figure out how to move from my old module to the Struts one. But from a jsp page in the struts module i need to call a page back in the old one. I will need to call the Servlet which is incharge of the previous module.
How do i do it? i tried forward. did not seem to work

Can anyone help
Thank you,
 
pie sneak
Posts: 4727
Mac VI Editor Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try searching for SwitchAction.
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A forward should also work as long as you specify redirect=true when defining the forward in the struts-config.xml file.
 
    Bookmark Topic Watch Topic
  • New Topic