jsp 中的js,可以用el表达式来提取:
var value = "${requestScope.XXX}";
注:XXX为你的参数名
如:http://localhost:8080/yourProject/xxxx.jsp?XXX=1
var value = "${requestScope.XXX}";
则:value = 1
jsp 中的js,可以用el表达式来提取:
var value = "${requestScope.XXX}";
注:XXX为你的参数名
如:http://localhost:8080/yourProject/xxxx.jsp?XXX=1
var value = "${requestScope.XXX}";
则:value = 1