Question: Retrieving newly inserted records and displaying in jsp forever
Sir, here is my requirement,
First i have to retrieve newly added 10 records from a table and display in jsp(Each row contains a field called as "session-duration").And after 7 seconds i have to add 7 seconds to session-duration field of every record which is displayed on the jsp (not in database) and immediately i have to check whether any new records are inserted in database table or not.If new records are inserted, i have to retrieve the newly inserted records and display those records in the jsp. If the session-duration exceeds 10 minutes for any record which is displayed in the jsp. I have to delete that record from the jsp(not from the database table). This should be done forever. Please help me in resolving this problem.