permaculture playing cards
The moose likes Tomcat and the fly likes Sharing pages across webapps Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Sharing pages across webapps" Watch "Sharing pages across webapps" New topic
Author

Sharing pages across webapps

David Duran
Ranch Hand

Joined: Feb 11, 2002
Posts: 122
Does anyone know if this is possible? Right now, my directory structure under ROOT is:

All three APP directories reference header/footer files in SHARED.
I want to separate the APP directories into their own separate webapp contexts without having to duplicate the SHARED directory in each WEBAPP directory. Is this possible?
What I want is the below, some kind of directory structure that allows all three APPS to be their own webapp but with the SHARED code centralized in one place.

The only way I know how (what I DON'T want) is to duplicate the same directory under each webapp.
 
 
subject: Sharing pages across webapps
 
It's not a secret anymore!