To use my application,i need to relaod the XML page URL for every 5 to 10 sec,so please tell me how to reload or refresh the specified URL(https://localhost:8080/java/dataformatureerfew5&6) for every 5 sec using java programming(without Refreshing it manually)
Share
You can use Java Timer for scheduling. An easy and related example can be be found here.
To reload/refresh the URL, you can initiate a java HTTP request by using java.net.HttpUrlConnection. Comprehensive detail on this can be found here.