7.4 Web Application File Detection Criteria

Bundlor scans for the Servlet web.xml file located in the WEB-INF directory. If it detects this file, it scans the file for a number of values that contain class names.

7.4.1 web.xml Values

Using XPath syntax, the following is a list of values searched for type names

  • //context-param/param-values
  • //filter/filter-classs
  • //filter/init-param/param-values
  • //listener/listener-classs
  • //servlet/servlet-classs
  • //servlet/init-param/param-values
  • //error-page/exception-types
  • //env-entry/env-entry-types
  • //ejb-ref/homes
  • //ejb-ref/remotes
  • //ejb-local-ref/local-homes
  • //ejb-local-ref/locals
  • //service-ref/service-interfaces
  • //resource-ref/res-types
  • //resource-env-ref/resource-env-ref-types
  • //message-destination-ref/message-destination-type