Requests sent to my Spring MVC system are being processed by a J2EE filter but never making it to the Spring controllers. Can these two components be used together or do I need to use DelegatingProxyFilter to allow filtered requests to make it to the controllers. Or is this just a symptom of a URL mapping problem?
From my web.xml:
Code:<servlet-mapping> <servlet-name>dbconnect</servlet-name> <url-pattern>/dbconnect/DBconnect</url-pattern> </servlet-mapping> <!-- filter that adds the command and, optionally, the subcommand as an attribute of the servlet request --> <filter> <filter-name>CommandFilter</filter-name> <filter-class>com.mycompany.dbconnect.filter.CommandFilter</filter-class> <description> Adds command[subcommand] as an attribute of the request object </description> </filter> <!-- the command filter needs to see every incoming request --> <filter-mapping> <filter-name>CommandFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping>
Thanks for any help or advice,
bils


Reply With Quote