To set up the Web Transaction Monitor, do the following:
- 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>
- Do the local configuration in web page. If you want
to debug one web page, you need to do the following:
- Add the taglib into the page by adding the following code:
<%@ taglib uri="/WEB-INF/btt.tld" prefix="btt"%>
- Add a JSP tag into the page by adding the following code:
<btt:monitor isplay="in">
- Add BTT Web Transaction Monitor related jar bttmonitortag.jar into
the application module dependency. bttmonitortag.jar is in toolkit_root\lib directory.
- Unzip bttmonitortagres.zip and copy it into WebContent folder in
your web application; otherwise copy it to a subfolder of WebContent and revise
the value of the monitorPath to the actual path.
- Deploy the web application, if one web page is monitored, the corresponding
monitor information is displayed on the page