servlet factory tag reference - novalexei/mod_servlet GitHub Wiki

#####<servlet-factory>

The location for the factory method which will create the servlet.

The format of factory string is following: shared-library:method-name or shared-library(context):method-name

Here:

  • shared-library - full name of shared library in application-root/WEB-INF/lib where factory method should be searched
  • method-name - name of the factory method which is defined in shared-library and declared as extern "C"
  • context - context of the application where the shared-library is located. This can be specified if there is a need to load servlet from different web application.

More on defining servlet factory methods are in http_servlet reference

See Also:

To web.xml reference page