ModjyServletContextRoot » History » Revision 1

Revision 1/2 | Next »
Alan Kennedy, 2009-03-15 10:55 PM

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 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.

Updated by Alan Kennedy over 15 years ago · 1 revisions