New window in JSP
Posted on 2002-07-19
Scenario 1) I have a html page (say default.htm) which has some buttons on it. Onclick of the button, it opens a JSP in new window - works fine.
Scenario 2) My requirement wants to disable resize button on the default.htm. So, i created a new page (new.htm) which will be thrown by default.htm. This new.htm will have the same functionality as the previous page and will have the resize button disabled.
Now, when i try to open the JSP page by selecting the button, the JSP page is opening in the same window. Why is this opening in the same window? I actually want this to open in a separate window as it worked in scenario 1.
could someone help me out?