File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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