vue.js

<li v-for="student in studentList">{{student.name}}</li>

 

jsp el表达式

<c:forEach var ="student" items = "studentList">

<li>${student.name}</li>

</c:forEach>

 

java语言的写法

for (Student student : studentList){

  System.out.println(student.getName);

}

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-10
  • 2021-12-07
  • 2022-03-04
  • 2022-02-12
猜你喜欢
  • 2022-12-23
  • 2022-01-15
  • 2022-12-23
  • 2021-12-22
  • 2021-12-09
  • 2022-01-25
相关资源
相似解决方案