小编Man*_*iki的帖子

在 Spring Boot 中使用 javascript 获取 application.properties 文件中的值

在我的index.html 页面中,脚本中的变量是硬编码的。我想从 application.properties 文件中获取它,但不知道如何获取。如果有人能为我提供解决方案,那将会很有帮助。

html javascript properties-file spring-boot

5
推荐指数
1
解决办法
5115
查看次数

标签 统计

html ×1

javascript ×1

properties-file ×1

spring-boot ×1