Using Servlet Mapping with Struts 2
April 22, 2013
I had a struts 2 web application, and I wanted to call some code that was implemented as a pure java servlet. Struts 2 uses a servlet filter:
<filter-mapping> <filter-name>struts2</filter-name> <url-pattern>/*</url-pattern> </filter-mapping>
and I wanted to setup a new servlet that matched by url:
<servlet-mapping> <servlet-name> …