如何在java类中定义函数返回一个List,在JSP中也能收到

2025-04-29 17:25:04
推荐回答(1个)
回答1:

request.setAttribute("list",list)
然后在jsp端接收 request.getAttribute("list")