window.location.href("<%=basePath%>xinfangshengxiafa/shenhe1.jsp?xfId="+xfId, 'shenhe1'+xfId, "left=10000,top=10000,width=600, height=500,status=no,toolbar=no,menubar=no, location=no,scrollbars=yes,resizable=yes");
相当于
out.println("<script>window.location=\""+basePath+"xinfangshengxiafa/shenhe1.jsp?xfId="+xfId+"\"</script>");