I have the below filter in web.xml:
<filter>
<filter-name>test</filter-name>
<filter-class>org.test.MyFilter</filter-class>
<init-param>
<param-name>loginUrl</param-name>
<param-value>https://loginAppName</param-value>
</init-param>
</filter>
Here loginUrl is different in different environments. So I want to externalize this param value. How to do this?