私のアプリケーションは、2 つのセクションに分割されたフレームで実行されます。左側のナビゲーション メニューと、すべての JSP が実行される右側のセクション。次のフレーム バスター コードを使用して、フレームが別の不正なフレーム内で実行されていないことを確認します。
if(top != self) top.location.replace(self.location);
フレーム内で実行されるすべての JSP ページが、適切なフレーム内で実行されているかどうかを確認する必要があります。
私のフレーム構造は次のようになります。
<frameset framespacing="0" border="0" frameborder="no" rows="105px,*">
<frame name="header" id="header" scrolling="no" noresize marginwidth="0" marginheight="0" src="<%=request.getContextPath() %>/common/nav_header.jsp">
<frame name="content" id="content" scrolling="no" marginwidth="0" marginheight="0" noresize src="<%=request.getContextPath() %>/common/glb_loading.html">
</frameset>
それを確認するにはどうすればよいですか?