wsyy
asked on
How to know if a web page's last update time
Hi,
As noted above, I want to use Java to detect a web page's last update time via httpresponse, etc. I don't want to save the web page's contents and verify through the contents.
Thanks
As noted above, I want to use Java to detect a web page's last update time via httpresponse, etc. I don't want to save the web page's contents and verify through the contents.
Thanks
check the Last-Modified value in the http response header
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
what if the header doesn't include the info? are there any other ways?
not unless they including it some other custom header
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
calboronster:
My crawling application wants to detect the changes of a web page ever since last crawl. The solution you provided seems that a good check can be done only on the server side which may not help my case.
Thanks
My crawling application wants to detect the changes of a web page ever since last crawl. The solution you provided seems that a good check can be done only on the server side which may not help my case.
Thanks
>>The solution you provided seems that a good check can be done only on the server side which may not help my case.
I wonder why you accepted it then?
I wonder why you accepted it then?