google chrome iframe url重定向问题

fcg9iug3  于 2021-07-18  发布在  Java
关注(0)|答案(0)|浏览(651)

当使用chrome作为浏览器时,我们无法在iframe中打开url。我们使用的是最新版本的chrome。
我们的htmlusing:-

<!DOCTYPE html>
   <html>
<body>
<h1>The iframe element</h1>
<iframe  src="http://localhost:8080/ui/overview" width="500px" height="500px">
</iframe>
</body>
</html>

但是iframe返回的次数太多了。

我们在spring-security.xml中也使用了这个file:-

<headers>
        <frame-options disabled="true" />
    </headers>

我们还尝试在web应用程序init()中配置method:-
我们将wicket renderstrategy设置为:-requestcyclesettings.renderstrategy.redirect\u to\u buffer
当我们检查元素并看到chrome中的网络选项卡时。这是输出。它将302显示为状态:-

它不仅仅在googlechrome上工作。如何解决这个问题?
请提出一些办法。

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题