Refused to display ‘https://localhost:8080/msc/ordertype’ in a frame because it set ‘X-Frame-Options
原因:
Spring-Security 默认是设置了这个 “X-Frame-Options” 属性为DENY
解决:
一:使用xml
<http auto-config="true" use-expressions="true">
<headers>
<frame-options policy="SAMEORIGIN"&..
翻译
2018-09-10 17:13:46 ·
1753 阅读 ·
0 评论