File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

opening new pop up window from servlet

 
Raj Kumar Bindal
Ranch Hand
Posts: 418
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can we open new pop up window from a servlet.There are no links,button etc. in the servlet.It is just doing some processing and then need to open a pop up window.
Any help.
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Http fortunately disallows push. The whole web would have been very scary otherwise.

No, you can't do that without any client interaction. The client is the only who may send a new request. In the server you only can send the response or replace the request. You can't send a response without a request.

What's the functional requirement after all? You normally open new browser windows using the target attribute which is available in the HTML <form> and <a> elements. You can also use Javascript to open a new browser window using the window.open() function.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic