wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Sharing pages across webapps
 
Similar Threads
JSP doesn't work in Linux server.
Can I Create a JNDI "Super Namespace"?
Problem with referencing session information from 2 contexts, one a subfolder of another
Session time out
Giving each webapp its own context root