posted 22 years ago
Hi,
Ofcourse, u can pass a URL of a servlet in the window.open().
If u want to call the servlet using POST method. U can set the target of the form to the window name and submit the form.
For ex:
<SCRIPT>
function onClickSubmit()
{
window.open("mywindow");
document.<frmname>.submit();
}
</script>
<body>
<form name="frmmain" action="/Servlet" target="mywindow" method="POST">
..
</form>
</body>
</html>
Try this out.
Vels