Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

access webapp from another webapp

 
Hans Sponger
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic