File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes POPup Reuse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "POPup Reuse" Watch "POPup Reuse" New topic

POPup Reuse

praveen kumar soni

Joined: Mar 21, 2005
Posts: 13
Hello ,

iam having a web application where i can open only one popup at any time ,from any number of browsers, that means when ever i open a new window it must overwrite the previously opened window.I am using a method in my jsp code, the name's are kept same for the above reason's. Now some times in a few popup code i use "window.opener" property.So at times this value is null and iam not able to proceed. i tried having a global handle for the popup,but that dosent solve the problem,niether did document.write solve the issue.Can some one let me know of any other better solution to the problem.
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

Moving to HTML and Javascript.

I agree. Here's the link:
subject: POPup Reuse
jQuery in Action, 3rd edition