File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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
How do I use a different template?
Help with migrating to new server
two questions about struts's template taglib
access webapp from another webapp
using jsp to allow a customizable look and feel GUI