在parent.jsp文件里这样写即可:
<script language="javascript">
function popwindow(htmlurl) {  var newwin=window.open(htmlurl,"homeWin","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes width=646,height=480");   return false;}
</script><a href="child.jsp" onClick="return popwindow(this.href)">child.jsp</a>关键是"homeWin",相关资料网上到处都是,这不属于jsp的范畴,而是js的东西。