File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "access webapp from another webapp" Watch "access webapp from another webapp" New topic

access webapp from another webapp

Hans Sponger

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 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
I agree. Here's the link:
subject: access webapp from another webapp
It's not a secret anymore!