Stack Exchange
Stack Overflow
Questions
Tags
Users
About
Stack Overflow
Public
Questions
Tags
Users
About
How a Session variable set in Server be accessed in External javascript file?
Asked
Dec 13 '17 at 23:39
Active
Jan 02 '18 at 07:47
Viewed
194 times
1
var xData = ${_attrValues};
So I tried using "${}" in external js file but it throws this error ->
javascript
java
session
jstl
asked Dec 13 '17 at 23:39
Yash P Shah
779
11
15
try enclosing in double quotes: var xData = "${attrValues}";
–
Prashant Saraswat
Dec 14 '17 at 00:20
0 Answers
0