Home > Back-end >  JSP multiple c: foreach traversal, after a layer traversal c: dynamic splicing secondary traverse th
JSP multiple c: foreach traversal, after a layer traversal c: dynamic splicing secondary traverse th

Time:12-10

Are two main layers of foreach traversal, a traverse with ID, secondary traverse dynamic splicing list_Id ID, foreach items=list_Id; The idea after a layer traversal, c: set dynamic joining together, and then in the second foreach dynamic list of the items of the variable name traversal, roughly as follows (Intranet can't take it out)
The ${sonItem. Id} & lt;/td>
The ${sonItem. Name} & lt;/td>

CodePudding user response:

Use & lt; Input type="text" value=https://bbs.csdn.net/topics/${key}> see value is the correct format: list_01, but secondary traverse the items with ${requestScope [key]} is not line, f12 no error messages,,

CodePudding user response:

No big

CodePudding user response:

Input box with requestScope. [key] and requestScope ket all take less than the value,,,

CodePudding user response:

I think you should put the list and requestScope data format
  • Related