<sec:authorize ifAnyGranted="<%=dRoles%>">
<meta http-equiv="REFRESH" content="0;url=public/First.jsp">
</sec:authorize>
<sec:authorize ifAnyGranted="<%=aRoles%>">
<meta http-equiv="REFRESH" content="0;url=public/Second.jsp">
</sec:authorize>
<sec:authorize ifAnyGranted="<%=bRoles%>">
<meta http-equiv="REFRESH" content="0;url=public/Third.jsp">
</sec:authorize>
我使用弹簧安全。 登录成功后,加载了Startup.jsp(default-target-url =“/ Startup.jsp)我在Startup.jsp中有上面的代码,我使用的是spring安全标签,考虑到用户可以访问所有上述3层的JSP。问题是,在IE7,First.jsp被加载,但在其他浏览器Third.jsp加载。 如何显示在这两种浏览器相同的JSP?在不同的浏览器中加载相同的jsp?
谢谢!
'含量= “0; URL =公/ Second.jsp”>'更改是0至1000 (或者一个足够长的数字)拉起渲染页面的源代码,使其在问题浏览器中呈现。 –