tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Wannamaker <>
Subject Installing My Own DirContext
Date Tue, 11 Jul 2006 15:23:18 GMT
Does anyone have any input on this?

What I want is through some config settings install my own DirContext.class
so that when the web app is trying to get resources like pages, it'll use my
DirContext to try to find them.  This way I can have some common files
located outside each web application and not have to have them installed
within the web app itself.

IE:  My DirContext will provide aliasing so that I can do this Alias
"login=c:\tomcat\webres\login"  so that a request to something like
http://myapp/mycontext/login/login.jsp will be given to my DirContext class
and I'll look for c:\tomcat\webres\login\login.jsp and return it if found.

Mike Wannamaker

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message