I have an application which reads from a properties file.
Properties file contains:
and so on for as many parameters as necessary
This works fine and I am able to call the properties file and use them in my public class. However I want to be able to pass some of these parameters from the command line so:
java -jar client.jar user_id report param1 param2
I then want to update the properties file with these values before calling them in my main application, and going off to query the server.
Can someone tell me if this is doable, and if so how?