Hello,
I have successfully setup Tomcat but now I want the following:
Suppose some Linux based system has a dynamic and constantly changing
number of users ranging in the thousands. I would like to set up
tomcat so that:
Each user gets a context root in a directory such as:
http://localhost:8080/~johndoe/contextroot/
This happens in such a way that when a request to a subdirectory
that looks like the one above is issued, Tomcat automatically
knows how to handle it. Is this possible?
This would be ideal. I don't see why it shouldn't be possible.
If this is impossible, then consider it to be a missing feature
from tomcat. I almost feel it should be documented somewhere if
available, otherwise, if not available, it should be implemented.
I guess I could define a path mapping of the form:
http://localhost:8080/~+/contextroot/
I actually tried this but it did not work: I used the path mapping
inside the webapps/ROOT/WEB-INF/web.xml file:
http://java.sun.com/dtd/web-app_2_3.dtd";>
welcome
These examples are from the created contextroot
subdirectory of webapps.
welcome
This web application welcomes you.
WelcomeServlet
welcome
http://localhost:8080/~*/contextroot/*
I thought I could have the URL execute a servlet, that would execute
then execute a servlet from the users' directory. Sound complicated?
Perhaps there is an easier way???
Suggestions very welcome!!!
Neil
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]