Execution time filter ver. 1.1

This is a Java servlet filter (as per Servlet API 2.3). This filter lets you calculate the execution time for your JSP (and/or Coldfusion) pages.

How to use it:

a) download exectimeflt.jar and save it in WEB-INF/lib directory

b) describe this filter in your web.xml file.
 


<filter>
  <filter-name>ExecTimeFilter</filter-name>
  <filter-class>com.cj.exectime.ExecTimeFilter</filter-class>
</filter>

c) describe a mapping for this filter in your web.xml file
 


<filter-mapping>
  <filter-name>ExecTimeFilter</filter-name>
  <url-pattern>*.jsp</url-pattern>
</filter-mapping>

in this case filter will be on for the each .jsp file. And now in your JSP files you can use Exec time taglib for getting the time (in milliseconds) this page was generated in.

   For downloading:
    Profile package:  exectimeflt.jar
 

 ©  Coldbeans     Comments?

See also JSOS - the largest collection of servlets and filters.

Also in JSOS: