It's not a secret anymore!*
The moose likes Java in General and the fly likes how to get LastModified time of a file system file and webserver file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

how to get LastModified time of a file system file and webserver file

karan sharma
Greenhorn

Joined: Dec 01, 2005
Posts: 27
hi ,
my task is that i have to compare modified time of 2 file.one is in file system other is database file . which is most recently updated (which is newer).

details :
we have to check that which file is most recently updated .if database 's file is newer then we copy that file in to file system other wise we keep file system 's file as it is till database file is not updated
so that we can put the latest data in cache(which is in file system ) so we need not to access database again and again we just get data from our cache(or file system).
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Please don't post the same question in multiple forums. It creates duplicate conversations and wastes the time of the people trying to help you.

Thanks,
Dave
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to get LastModified time of a file system file and webserver file
 
Similar Threads
how to get LastModified time of a file system file and webserver file
how to get LastModified time of a file in repository(in weblogic8.2 )
how to get LastModified time of a file system file and webserver file
Delete cached data and load from database
Distributed Caching