Writer instructions | |
---|---|
Page title | For most spaces, this page must be titled Space announcements. For spaces with localized content, this page must be titled Space announcements l10n. |
Purpose | Provide an announcement banner on every page of your space. |
Location | Move this page outside of your home branch. |
Guidelines |
Declaring the BTM Servlet Filter to the Servlet container
A web deployment descriptor (web.xml) is included in the web archive (WAR) file of the Java EE web application to be monitored.
You need to declare the BTM Servlet Filter in web.xml using a filter element, and provide a mapping to tell the servlet container which requests should be filtered via a filter-mapping element.
- Open the appropriate web.xml file in a text editor and modify the elements filter and filter-mapping. The child elements and attributes are described in web.xml elements.
Snippet from web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID">
<filter>
<filter-name>QNServletFilter</filter-name>
<display-name>QNServletFilter</display-name>
<description>BTM Servlet Filter</description>
<filter-class>
com.mqsoftware.BTM.servletfilter.QNServletFilter
</filter-class>
<init-param>
<param-name>ConfigFile</param-name>
<param-value>/path/to/QNServletFilterSampleCfg.xml</param-value>
<description>Required</description>
</init-param>
</filter>
<filter-mapping>
<filter-name>QNServletFilter</filter-name>
<url-pattern>*</url-pattern>
</filter-mapping>
</web-app>
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*