If a understand you correct, use this
<?xml version="1.0" encoding="UTF-8"?>
<xp:view xmlns:xp="http://www.ibm.com/xsp/core">
<script language="Javascript">
XSP.addOnLoad(function (){parent.location.href = parent.location.href} );
</script>
</xp:view>