File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Send popup from Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Send popup from Java" Watch "Send popup from Java" New topic
Author

Send popup from Java

java RS
Greenhorn

Joined: May 11, 2009
Posts: 1
Hi


Whenever I update a site I should send a popup to the perticular customers saying that " Site Updated " from Java. Is this possible. If yes please tell me how to do this.

Regards
BRS
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36508
    
  16
Please read the important administrative private message I just sent you.
salvin francis
Ranch Hand

Joined: Jan 12, 2009
Posts: 917

Just a thought......


use RSS


My Website: [Salvin.in] Cool your mind:[Salvin.in/painting] My Sally:[Salvin.in/sally]
Nitesh Kant
Bartender

Joined: Feb 25, 2007
Posts: 1638

Firstly, you have to define what is it you mean by a pop-up? In web world a pop-up is a new window that is opened by a webpage without an explicit command for the user. It is usually a hindrance to the user experience and most of the people use a popup-blocker to avoid such things.
So, it might not be a good idea to give important information about the site update using a pop-up.

If you just want to send the update information, one simple way how people do this is by taking the email-id of the user and send the update information via a mail.

apigee, a better way to API!
salvin francis
Ranch Hand

Joined: Jan 12, 2009
Posts: 917

i would still prefer RSS.

emails would be a sort of hinderence too.
salvin francis
Ranch Hand

Joined: Jan 12, 2009
Posts: 917

another way of doing it:

place a cookie that records current timestamp (from SERVER)

when the client opens the website the browser sends the timestamp to server

server checks last updated date and timestamp, if they do not match, server sends back message to client,
client displays popup to user.

This will work only when Client OPENS the given url again.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Send popup from Java
 
Similar Threads
SCJP sample questions from Sun
How can I detect whether my popup window is blocked by a popup blocker?
How to Pass pop up javascript values to another page
How could i pass values from a child popup to parent popup?
My Browser Has a Popup Window Blocker?