I need to automatically refresh a div in JSP (call database).
My database is updated every second (GPS data).
I need to automatically refresh a div in JSP (call database).
My database is updated every second (GPS data).
You can either refresh the whole page (See Refresh a page using javascript or html) or, better, use Ajax call to the server and just update the needed div.