External properties file

Hi,
i need to build single war and have an external properties file outside my war to have the advantage to change params without re-create WAR.

How can i do it with single-war creation?

Thanks,
Fausto.

Hi,

you can take a look at the docs: app property files. Normally, it looks in the conf directory of the tomcat under app-core. But as you want to use single war approach, you can specify it in the web.xml that you have to create anyway…

I hope this helps!

Bye

1 Like