I have a
jsp page (lets call it jsp1) which I submit and the form action redirects to a new jsp page ((lets call it jsp2)
JSP1:
Now when jsp2 loads I want it to be in a smaller window size, lets say width=500, height=500.
But as the new window (jsp2) is launched as a result of a form action I am not able to control the dimensions.
Another approach I tried out was calling window.resizeTo() on the onload event for jsp2 page. But there is problem. What happens is that the jsp2 window loads in default size and after a delay of 2-3 seconds it shrinks to the size I have set. Does'nt look good.
Please help out with this problem.
Thanks in advance.