ModjyServletContextRoot » History » Version 2
Alan Kennedy, 2015-07-04 05:50 PM
Updated tomcat links to Tomcat 8
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 | 2 | Alan Kennedy | If you are mapping all URIs through modjy, then the context root directory will be different. Tomcat 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*. |