1. I have a struts form in a config.jsp page. when this jsp page is loaded through web broswer I need to initialize each field with values and these values are read from a properties file.
2. The user can update each field and then click submit of config.jsp, all the entered values will be automatically populated
to ConfigForm and sent to ConfigAction which save the values to the properties file.
3. Next time when the config.jsp is loaded, the form is initialized by the parameters from step 2.
My question is how to initialize the form ( with the values from a file in my case)?
Thanks.