my dog learned polymorphism*
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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 ...?
Similar Threads
pop up window focus
pop up window href
check for new mail arrival
URL requests
opening new window with no menu and predefined size