I have too many context-parameters inside web.xml, which I would like to put in a separate config-file.
.....
<context-param>
<param-name>SYSTEM.UPLOADS.DIR</param-name>
<param-value>/home/youfaces/uploads/</param-value>
</context-param>
......
In a managed class I want to read these params usually like this:
String XYZ = servletContext.getInitParameter("param name");
Is it possible to put this params in separate config-file and reading it via .getInitParameter(..
? if yes where/how to declare it in web.xml exactly?
Every tip/idea is appreciated.
Thanks