Create, Read & Update Properties file in WEB-INF package Folder

I’m trying to create a properties file in the WEB-INF folder of a portlet package.

If I use no path it gets created in the root software AG folder

common/bin

. I can create it in the WEB-INF folder using a massive path like

../../MWS/server/default/ etc etc

.

Is there a way to change the default path from

common/bin

Thanks

Is there a way to change the default path

From within the web app? I’d say no. Because it is the path used when the JVM started. So you’d have to edit the MWS start script. But then you’d affect all web apps.

I find the idea of editing something in web-inf not a good one. Since at the next restart or deployment the data could be lost.

Why do you need to do that?