setAttribute()方法都和RequestDispatcher.forward()都在一起使用,具体用法示例:[java]viewplaincopy1.Listlist=newCommonsDao().getAllCommons();2.request.setAttribute("CommonsList",list);3.request.getRequestDispatcher("View
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号