相关代码 |
|
GoodBean gbean = (GoodBean)request.getAttribute("good"); String catName = (String)request.getAttribute("catName"); CategoryAdo cado = new CategoryAdo(); Collection cat = cado.selectCategories(); %> 物品名 现属种类 更改为 for(Iterator i = cat.iterator();i.hasNext();){ CategoryBean cbean = (CategoryBean)i.next(); %> } cado.close(); %>