Project

General

Profile

Actions

The context root of the modjy servlet.

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.

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.

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.

Updated by Alan Kennedy over 8 years ago ยท 2 revisions