Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to know through code if the web page is modified on a particular site ?

843842Jan 9 2009 — edited Jan 9 2009
Hi all..

I have an application developed using struts framework. In my application i accept URL from user and
then connect to that URL. After that i retrieve the contents of that URL and do further processing. I have an action class which does these things. I store these processed contents in database along with the URL.
The requirement is that if some other user requests with the same URL in my application, that time already processed data from database shall be used.
As we know web sites keep on modifying its pages from time to time. I want some routine with which i can check if the issued URL ( specific web page ) is actually modified or not. It it is so , i will connect to actual URL and if no then i will use the data already stored in database . Is that possible ?
What are the possible ways to implement the same ?

Can any one have solution in this regard ?

Thanks in advance..
Prasad
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 6 2009
Added on Jan 9 2009
1 comment
93 views