• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

external program connection to web server should trigger pop up

 
Joe Schaffer
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody,

I have a problem in understanding how to generate a special kind of pop up window. The pop up questions asked here before are related to clicks, or mouse movements but not to external programs.

I use tomcat as web server and the user can access servlets on it.

A mysql database in the background of the web server stores some information about the user.

If the user is logged into the system a userdependant page will be displayed. I store his session and username of the sql database temporary in a serialized final class object to identify the user (Session binding).

An external Java program is able to communicate through the Internet by using an XML-RPC server interface integrated in another servlet with the same serialized class and database to check if the user is online. If this is the case I want to trigger a pop up on the users computer if a special event on this java program happens. The pop up is not related to any mouse movement or button click of the user!

The pop up should only be displayed if an event on the program side happens!!

Thanks in advance for your help.

Greetings,

Joe
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34071
331
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Joe,
You can't send a request to the user browser without them doing something. You could have the user's browser periodically pool your server to see if it should create the pop-up, but the server can't initiate it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic