Project

General

Profile

ModjyServletContextRoot » History » Version 1

Alan Kennedy, 2009-03-15 10:55 PM

1 1 Alan Kennedy
h1. The context root of the modjy servlet.
2
3
Any instance of the modjy servlet lives in a *servlet context*. This context has a related file system directory, where resources supporting the servlet are located. *This directory is the default directory where modjy starts looking for application files to load*.
4
5
If you are using the out-of-the-box configuration, this directory will be the *modjy_webapp* directory, so you should place your WSGI application files in there. 
6
7
If you are mapping all URIs through modjy, then the context root directory will be different. Tomcat 6 creates a special *ROOT* directory under its *webapps* directory: the behaviour of your container may differ. *Whichever directory this is for your container is the root directory in which modjy will begin the search for application source files*.