Read properties file using jQuery or JavaScript

后端 未结 4 828
野的像风
野的像风 2020-12-19 13:54

I am newbie in jquery. I would like to read Java properties file in my jsp page using javascript or jquery. I\'m goggling about it but not satisfied.

My applicatio

4条回答
  •  半阙折子戏
    2020-12-19 14:13

    If anyone needs help for a Web Application, please see my answer that explains the simplest method to read properties from a property file in the project directory. In summary, you will be able to populate some selected properties in hidden inputs and then read the hidden input value from JavaScript.

提交回复
热议问题