Auto refresh web page

前端 未结 10 2486
挽巷
挽巷 2021-02-12 19:06

I have a web page which allows the user to carry out various operations that in turn modify the database. Also, this web application needs to keep track of various fields in dat

10条回答
  •  半阙折子戏
    2021-02-12 19:35

    I think you need something similar to Reverse AJAX now popularly known as Comet. It is server pushing the data to the client instead of browser polling the data from the server/database. http://en.wikipedia.org/wiki/Comet_(programming) has a good introduction. There are already many frameworks (e.g. DWR, ICEFaces) that support this pattern.

提交回复
热议问题