<%List<Student> studentsInfo = (List<Student>)request.getAttribute("studentsInfo");%>
在jsp中取List中单个值,单独输出studentsInfo可以,但studentsInfo.get(i)就报NullPointerException真TM头痛啊以前从来没遇到过,有没有人遇到这种情况,难道是springmvc对request里的值做了限制????