Changeset 28296 for main/trunk


Ignore:
Timestamp:
2013-09-19T16:46:59+12:00 (11 years ago)
Author:
jlwhisler
Message:

Removed a deprecated comment. The context path is no longer defined in server.xml. Instead, resources/tomcat/(context).xml is the file that specifies the context path. Specifically, it is the NAME of this file that determines the context path, not any path attributes tothe Context element in the file (such an attribute is actually not allowed for individual context.xml files, according to http://tomcat.apache.org/tomcat-5.5-doc/config/context.html). By default the context.xml file for GS3 is greenstone3.xml, so the default context path is greenstone3. We'll be making some commits shortly that will allow this to be changed via build.properties.

Location:
main/trunk/greenstone3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/resources/tomcat/greenstone3.xml

    r27922 r28296  
    33<!-- see http://tomcat.apache.org/tomcat-5.5-doc/config/context.html for more Context attributes -->
    44       
    5 <Context path="/greenstone3"
     5<Context
    66    docBase="@gsdl3webwritablehome@"
    77    aliases="/interfaces=@gsdl3webhome@/interfaces,/sites=@gsdl3webhome@/sites"
  • main/trunk/greenstone3/web/WEB-INF/web.xml

    r26576 r28296  
    288288         will be mapped to the "controller" servlet.
    289289
    290         Note: context path is determined by the servlet container -
    291         in Tomcat, specified in server.xml -kjdon
    292        
    293290         You may define any number of servlet mappings, including zero.
    294291         It is also legal to define more than one mapping for the same
Note: See TracChangeset for help on using the changeset viewer.