Can I reference context parameter in a DD itself?
For instance:
<context-param>
<param-name>firstParam</param-name>
<param-value>/first</param-value>
</context-param>
And then I would like to be able to do something like this:
<servlet-mapping>
<servlet-name>firstServlet</servlet-name>
<url-pattern>${firstParam}</url-pattern>
</servlet_mapping>
No , it is not possible. There is no such feature.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With