Add the lines shown in bold to the custom filter section.
<filter>
<filter-name>CustomFilter</filter-name>
<filter-class>com.matrixone.servlet.CustomFilter</filter-class>
<init-param>
<param-name>ematrix.customDirName</param-name>
<param-value>/custom</param-value>
</init-param>
</filter>
Note:
You can implement a custom
directory to store custom files. However, when using custom directories, there are certain JSP directives that will result in run-time (vs. compile-time) errors if the relative pathing is not correct. Therefore, it is recommended to use custom prefixes instead of a custom directory. In version 10.7 and later, use of a custom directory is not supported by default—configuration in the relevant web.xml.part fragment is required.