How to externalize web.xml servlet init-param? Spring DelegatingFilterProxy for Servlets?
- by jnorris
I have a 3rd-party servlet that I cannot modify. It accepts an init-param that I would like to externalize (from web.xml).
I can externalize a servlet filter init-param using DelegatingFilterProxy. This effectively moves the servlet filter definition into Spring where there are much more powerful externalization tools (eg: PropertyPlaceholderConfigurer, environment variables, etc.)
How can I do this for a servlet?