Automatically updating web page

Note The map view on a Web page is not changed when you change the map view in the map file.

You can also use the Microsoft Windows Scheduled Tasks feature to automatically start Map Point, update links for a specified map file, and save changes to associated Web pages (if the Auto Save feature is enabled).

Because we want the function to continue receiving and handling updates, we add the script section in the body of the page.For help with scheduling tasks, click Start and then click Help.To reactivate the Auto Save message, on the Tools menu, click Options, and then select the Show Auto Save message on Save check box.Updates your Web page with any changes you save to your map file.This message will not appear again during the current session, but it will appear the next time you open and save changes to your map file.That sounds like a functionality that would be better suited in a Flash or Silverlight application.Using an elaborate AJAX solution might be a bit more efficient than your but the reality is that web pages make a terrible medium for live content.The poll results and the real-time trading data are dynamic elements that are unknown until run time, but elements that should be added or updated when the server side sends a signal. A previous developer Works article, "Craft Ajax applications using JSF with CSS and Java Script, Part 2: Dynamic JSF forms" explains how to hide and display optional JSF components without refreshing a Web page.However, you can't use the method described in that article to solve this problem.The HTML5 Server-Sent event model allows you to push realtime data updates from the server to the browser.In this tutorial we will work through the process, with the Event Source object handling received data and writing it to the page.