so I am using Java Play framework. In my view part, I pass in the variable from Java back end as string. Then I want to store that string in javascript in the view part, how can I do that? code:
And it seems like output doesn't recognize the @message, so it shows up nothing. The return type from Java side is String. So JavaScript string and scala string are different? And what's the correct syntax?