While
Struts 1.X does not support
servlet filters I found nothing on the web which said that struts and filters would not work. With
Tomcat 5.1.15 and Struts 1.2.8 my webapp doesn't work when I configure a filter in web.xml. After the doFilter-method has finished nothing else happens and IE displays a blank page. The address line is correct and contains all parameters (Http-GET).
Is there something wrong with my configuration? Do I have to code a redirect within doFilter? Even putting loglevel to finest does not give any clues. All logfiles end at the point where the filter is used.
web.xml is like this:
It does not work with this mapping, neither:
struts-config.xml goes like this:
I would expect that after doFilter is done the ActionServlet is in control creating an instance of SomeForm and invoking SomeAction.execute. This does not happen. It works fine if the filter code is removed from web.xml.