Grails Polling the server via ajax calls -


I have a partial template that I want to choose the server in the intestine (one of my controllers) and the result Want to update your performance with

What is the proper way to do this?

I have seen some articles, which have specific gallery tags for AJAX calls, which will be good because it will clear the direction for a controller / method, however, I have not seen anything in Grails It is suggested that the choice of the controller can be done entirely.

Thank you!

Nothing has been made in Gareth who will vote for you. The most basic way is to simply use the setInterval () function in your javascript. If you are using the Javascript library, there can be anything available that will make things easier for you.

As a side note, be careful while implementing voting. If you are applying properly and you expect a lot of users, then voting will be faster than your system. Can bring.

Comments