you can do one thing:
, " struts"
1: "response.flushBuffer();"
2: response.sendRedirect( "close.htm" )
close.htm:
<html>
<script>
window.close();
</script>
</html>
. , . , . . JavaScript, ?
pop_up= window.open("", "PopUpName");
pop_up.document.write('POPUP TEXT');
pop_up.close();