AnsweredAssumed Answered

Setting properties that are shared by multiple web scripts

Question asked by vince20151 on Oct 18, 2013
Latest reply on Oct 22, 2013 by vince20151
I have DB settings (such as dbuser, password, URL, etc) that are shared by several Javaback webscripts. I originally place the config properties file in the local webscript location where the webscript desc.xml and the webscript free marker are placed. Per tips from this post.
http://forums.alfresco.com/forum/developer-discussions/web-scripts/how-add-more-properties-properties-file-08292013-2325

However, with more and more webscripts sharing the same information, this becomes error prone. I like to place this file in a central location where all of my webscripts can get to. How do I accomplish this? Is there a place to put this file or an existing file to modify and what would be the java method to get to it and read it. Thanks a bunch!

Outcomes