Enabling the Web Transaction Monitor

To enable the Web Transaction Monitor, do the following:
  1. Do the global configuration in the btt.xml file. Add the following code in btt.xml file:
    <kColl id="HTMLClient">
       ... ...
       <field id="monitorState" value="open" />
    		<field id="monitorPath" value="RuntimeMonitor/" />
    </kColl>
    To enable the Web Transaction Monitor function, set the value to open for the field monitorState. The field monitorPath is used to configure the path of library resources. This is optional. If this field is not set, the default value is RuntimeMonitor. The values are not case-sensitive. The following figure illustrates that the value of monitorPath corresponds to the file path of the RuntimeMonitor folder.

  2. Do the local configuration in web page. If you want to debug one web page, you need to do the following:
    1. Add the taglib into the page by adding the following code:
      <%@ taglib uri="/WEB-INF/btt.tld" prefix="btt"%>
    2. Add a JSP tag into the page by adding the following code:
      <btt:monitor isplay="in">
    For the attribute display, the following values are supported:
    Table 1. Values for the attribute display
    Value Description
    in The monitor area is displayed at the bottom of the current frame.
    out The monitor area is displayed at the bottom of the whole browser area.
    Note: The default value is out.
  3. Add BTT Web Transaction Monitor related jar bttmonitortag.jar into the application module dependency. bttmonitortag.jar is intoolkit_root\lib directory.
  4. Unzip bttmonitortagres.zip and copy it into WebContent folder in your web application. Otherwise copy it to a subfolder of WebContent, revise the value of the monitorPath to the actual path.
  5. Deploy the web application, if one web page is monitored, the corresponding monitor information is displayed on the page