I know there is already questions about that, but I just can´t simply get this work, I have a JSP file with a java variable in it:
String test = \"Hello\";
var jsvariable="<%=test%>";