Click to See Complete Forum and Search --> : refreshing data


hopefulcharlie
06-14-2006, 08:00 AM
I have a jsp/servlet appilcation that reads a csv from the web and stores the data in the application session. I need a way of polling the source of the CSV once or twice a week and if the data has changed refresh it in my session. Can anyone advise me of the best solution?

Khalid Ali
06-14-2006, 02:21 PM
you can create a class that will use threads and will run (as many times as you want) and check the file if its changed....