This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

reload properties from url  RSS feed

 
Karen Gomes
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Friends,

My current application uses a properties file that works fine. However at runtime, in case there is an error, like it could not find the queue defined in the properties file then I need my app to go to a url and get properties from there, rewrite the old properties file and reload.

I'm able to read the data from the url but not sure how to rewrite the properties file. I'm using this code to read the contents from the url:




Any help will be appreciated.

Thanks
Karen
 
Mehul Sanghvi
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I hope this helps:

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!