aspose file tools*
The moose likes Servlets and the fly likes access webapp from another webapp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "access webapp from another webapp" Watch "access webapp from another webapp" New topic
Author

access webapp from another webapp

Hans Sponger
Greenhorn

Joined: Apr 08, 2004
Posts: 3
I have an application that dynamically creates different user accounts. Each user's jsp files must reference some template jsp files. For example, the file /hans/aboutme.jsp would include a template like this:
<jsp:include page="/templates/aboutme.jsp" />
The only way I know how to do this is to create a new directory for each user, because if I make a .war for each user and place in webapps, then I get a java.io.FileNotFoundException because the templates is in the root directory, not in the particular user's webapp directory.
Is there any solutions other than creating new directories for each user.
Thanks, Hans live216@yahoo.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: access webapp from another webapp
 
Similar Threads
Help with migrating to new server
access webapp from another webapp
two questions about struts's template taglib
How do I use a different template?
using jsp to allow a customizable look and feel GUI