Servlet-Filter

Simple end-user tracking for Java EE web applications.

Servlet-Filter is an implementation of Java EE HTTP Servlet Filter. This servlet filter tracks the following:

The output can be streamed to any of the TNT4J sinks: file, log4j, socket, visual analysis using jkoolcloud.com (http://www.jkoolcloud.com).

Adding Tracking to your web applications

Simply add the following to your application's web.xml:

<filter>
    <filter-name>ServletFilter</filter-name>
    <filter-class>org.tnt4j.servlet.filter.TrackingFilter</filter-class>
</filter>
<filter-mapping>
    <filter-name>ServletFilter</filter-name>
    <url-pattern>/*</url-pattern>
</filter-mapping>
<context-param>
    <param-name>op-level</param-name>
    <param-value>DEBUG</param-value>
</context-param>

NOTE: Make sure all jar files required by ServletFilter are in your application's classpath.

Project Dependencies

Servlet-Filter requires the following:

Available Integrations