谁知道这个错误如何解决?
在struts2中使用c:import导入一个action中的内容,
比如:
出错信息:
The requested resource (/zuinfo_new/jsp/organize/tree.do) is not available
但是直接在浏览器中输入 http://yj.zju.edu.cn:8888/zuinfo_new/jsp/organize/tree.do
是可以访问的。
谁知道这个错误如何解决?
在struts2中使用c:import导入一个action中的内容,
比如:
出错信息:
The requested resource (/zuinfo_new/jsp/organize/tree.do) is not available
但是直接在浏览器中输入 http://yj.zju.edu.cn:8888/zuinfo_new/jsp/organize/tree.do
是可以访问的。
[quote]这样会在页面显示出alert("end");[/quote]
所以问题还是一样的,302问题。
[quote]恩,我也注意了302,302表示要进行一次重定向,是否你的链接
http://yj.zju.edu.cn:8888/zuinfo_new/jsp/organize/tree.do
在访问之后还要进行一次重定向(可以在firebug中查),如果这样,c:import标签可能没有这么智能。[/quote]