Actually i tried but don't know how to set value for period of time.In my project i need to save all value in database in every 30 seconds.For that purpose I have taken one
jsp page with five text fields. whenever i filling one or two text fileds without submitting that form that data has to store in database.
I things this might be clear .
Please send the solution
In my opinion , you should look at Timer and TimerTask in Java , which will be responsible to run a Thread for making insertions into Database after every 30 seconds .
Good luck , Thanks .
In my opinion , you should look at Timer and TimerTask in Java , which will be responsible to run a Thread for making insertions into Database after every 30 seconds .
Good luck , Thanks .
Thanks for reply .But i am not satisfy with your answer because I am want auto save like facility which will be client side event .
Thread timer is comes after the submitting the form.
I need a javascript which I can put inside a HTML on the page to
autosave the page every five minutes.