jsp 遍历list,该如何解决

jsp 遍历listJava codeAction.java 中有这样的方法。public String print()throws Exception{ListAdAccoun

jsp 遍历list

Java code
Action.java 中有这样的方法。public String print()throws Exception    {              List<AdAccountBook> list=(List<AdAccountBook>) adAccountBookManager.getList(searchKey, approveStatus);//        System.out.println(list.get(0));        success=true;        return SUCCESS;    }

怎样在jsp 页面遍历list的内容 如 id,content ,显示在table 中

[解决办法]
探讨
CSS code

private List<AdAccountBook> list;
list的setter/getter方法,要添加

public String print()throws Exception
{

list=(List<AdAccountBook>) adAccountBookManager.getList(searchK……