request.getAttribute怎么能从Action中读到值我有一个页面一开始就有个String id=(String)request.getAttribute("id");然后从一个Action返回到这个页面时怎么样还能让它通过request.getAttribute把值得到

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/29 20:21:49
request.getAttribute怎么能从Action中读到值我有一个页面一开始就有个String id=(String)request.getAttribute(

request.getAttribute怎么能从Action中读到值我有一个页面一开始就有个String id=(String)request.getAttribute("id");然后从一个Action返回到这个页面时怎么样还能让它通过request.getAttribute把值得到
request.getAttribute怎么能从Action中读到值
我有一个页面一开始就有个String id=(String)request.getAttribute("id");然后从一个Action返回到这个页面时怎么样还能让它通过request.getAttribute把值得到

request.getAttribute怎么能从Action中读到值我有一个页面一开始就有个String id=(String)request.getAttribute("id");然后从一个Action返回到这个页面时怎么样还能让它通过request.getAttribute把值得到
request.setAttribute(key,value);
只要你设置了,在一次交互过程中都会存在