jsp脚本怎么改写成jstl标签
List<Map<String,String>>list=(List<Map<String,String>>)session.getAttribute("list1");...
List<Map<String, String>> list = (List<Map<String, String>>) session
.getAttribute("list1");
int index = 0;
Boolean flag = false;
if (list != null && list.size() > 0) {
for (int i = 0; i < list.size(); i++) {
Map<String, String> map = list.get(i);
}}
这段代码怎么改写成jstl啊? 展开
.getAttribute("list1");
int index = 0;
Boolean flag = false;
if (list != null && list.size() > 0) {
for (int i = 0; i < list.size(); i++) {
Map<String, String> map = list.get(i);
}}
这段代码怎么改写成jstl啊? 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询