Java Reference
In-Depth Information
<param-name>endhour</param-name>
<param-value>18</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>timebasedaccess</filter-name>
<url-pattern>*.do</url-pattern>
</filter-mapping>
<servlet>
<servlet-name>insurance</servlet-name>
<servlet-class>
org.springframework.web.servlet.DispatcherServlet
</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>insurance</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
<jsp-config>
<taglib>
<taglib-uri>/spring</taglib-uri>
<taglib-location>
/WEB-INF/tld/spring-form.tld
</taglib-location>
</taglib>
</jsp-config>
</web-app>
Using servlet filters, it was possible to deliver the customer's first enhancement with-
out affecting the existing code in any way. However, collecting different information
required for usage tracking would require some coding. But you can integrate a simple
yet powerful out-of-the-box open source solution called Clickstream from Open-
Symphony to achieve this goal. It can be downloaded from http://www.opensymphony.com/
clickstream/ . Clickstream is also based on filters, providing a highly flexible way to track
usage patterns on a web site.
 
Search WWH ::




Custom Search