casid / jte

Secure and speedy templates for Java and Kotlin.
https://jte.gg
Apache License 2.0
848 stars 63 forks source link

How to use string template with JTE ? #405

Open tangyk opened 4 days ago

tangyk commented 4 days ago

Hi,

I would like using string template with JTE. Is there some example for doing this ?

For example: String template = """ Hello, ${user}! """;

are expected to be Hello, Tom! when parameter user is set to Tom.

Thank you for any help.