struts中在action里把数据传递给jsp页面的一些疑问?
比如 show.jsp 页面显示 getdata.do 得到的数据,
在 getdata.do 中使用 request.setAttribute(...) ,再跳转到 show.jsp可以显示数据,
我想 怎样使直接 访问 show.jsp 页面时能正确显示数据?
发布时间: 2012-11-05 09:35:12 作者: rapoo
struts中在action里把数据传递给jsp页面的一些疑问?
比如 show.jsp 页面显示 getdata.do 得到的数据,
在 getdata.do 中使用 request.setAttribute(...) ,再跳转到 show.jsp可以显示数据,
我想 怎样使直接 访问 show.jsp 页面时能正确显示数据?