Assign JavaScript variable to Java Variable in JSP

后端 未结 7 1432
猫巷女王i
猫巷女王i 2020-11-30 04:49

Ello there,

I\'m trying to assign the value of a javascript variable to a java variable. But I don\'t have clue how to do this? Say for example I have this:

7条回答
  •  醉酒成梦
    2020-11-30 05:27

    I think there's no way to do that, unless you pass the value of the JavaScript var on the URL, but it's a ugly workaround.

提交回复
热议问题