Custom Servlets

From PresenceWiki
Revision as of 10:42, 9 March 2012 by Mattpryor (Talk | contribs)

(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

The built in HTTP Server can now run custom Servlets. To enable a custom servlet, add the following to the http.config file under the server entry you would like the servlet to be available for:

        <servlets>
            <servlet classname="FULLY QUALIFIED CLASS NAME" path="PATH_TO_SERVLET">
                <parameter key="parameter1" value="value"/>
                <parameter key="parameter2" value="value"/>
                <parameter key="parameter3" value="value"/>
            </servlet>
        </servlets>