How to pass Java String value or list of strings to javascript using JINJAVA

307 Views Asked by At

We can access java values passed through JINJAVA in HTML using {{}}. How can we access the same in javascript?

1

There are 1 best solutions below

0
On BEST ANSWER

https://stackoverflow.com/questions/21626048/unable-to-pass-jinja2-variables-into-javascript-snippet[Similar thing can be done here too like the accepted answer for this question]