How to create dynamic Template String

前端 未结 4 1650
北荒
北荒 2020-12-22 14:06

Is there is any API which replace template string along with values using Spring or java.

For example:

Dear %FIRST_NAME% %LAST_NAME%,
---- remaining          


        
4条回答
  •  执笔经年
    2020-12-22 14:41

    My favorite templating engine is Apache Velocity

    Integrates nicely with Spring as well, theres an introductory article here

提交回复
热议问题