servlet中request里的arraylist的值如何让jsp获得
在jsp页面我写的是 ArrayList<Item> items = (ArrayList<Item>)request .getAttribute("payload2");
报错是这样的Type safety: Unchecked cast from Object to ArrayList<Item>
求大虾帮忙啊
------解决方案--------------------------------------------------------
添加@SuppressWarnings("unchecked")