超链接在http和https模式下的行为有所不同

时间:2012-05-29 04:56:25

标签: html href

我有一个jsp页面。在那我有多个链接。在http模式下,如果点击任何链接,则会在同一窗口中打开目标页面。

但在https模式下,如果点击任何链接,则会在新窗口中打开目标页面。如何在https模式下在同一窗口中打开目标页面。

1 个答案:

答案 0 :(得分:1)

我相信html target属性有自己的选项来打开链接..

<a target="_blank|_self|_parent|_top|framename"> 

<a herf="" target="_parent">LINK</a>

应该在同一个父窗口中打开链接,而不是弹出新窗口。