二、出现The type List is not generic; it cannot be parameterized with arguments <String>
如果你的jsp页面中写了 List<Student> stuList = new ArrayList<Student>();
系统可能默认给你导入 import java.swt.*; 包
此时需要将这个包改为 import java.util.*; 因为List是属于util包
如果你的jsp页面中写了 List<Student> stuList = new ArrayList<Student>();
系统可能默认给你导入 import java.swt.*; 包
此时需要将这个包改为 import java.util.*; 因为List是属于util包