<input type= "hidden" value= "...."/>
This hidden tag can hide some data.
Previous segment parsing:
The struts2 OGNL expression is applied here, and the parameters returned by the back-end action are hidden in the label;
Then in some things js code , you can get the value of these tags, and then you can do the following, as follows:
However, in the JS code, you need to get the tag value for a JSON conversion,eval ("(" +student+ ")"), and then converted to JSON data format.
At this point, we can hide the back-end parameters in the label and take these value values when needed.
However, this tag has a drawback, that is, each hidden tag will occupy a row, but show a blank, which can be hidden through the display property,
Note: In addition to the results can be hidden through the hidden tag, but also by the JSP page in the embedded JS code to get directly.
<input type= "hidden" value= "..."/>