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

How to get a new pop up window ...?

Siva Balasubramanian

Joined: Sep 16, 2003
Posts: 1
I'm having a link in the browser.If i click tht link it calls servlet and bean in turn call the database operation.After then the result set has to be displayed in a new pop up window.How to achive this in the servelt part?
Thanks in advance...
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
you can't do this in the servlet part. Servlet know nothing about windows on client side. You should use javascript to open a new window. And define
the servlet URL as the target of this pop up
I agree. Here's the link:
subject: How to get a new pop up window ...?
It's not a secret anymore!