Do a DB query on a therad's timeout.

S

sickness

Hello
I'm using struts. Now I've a jsp that load a bean that contains some
values taken from DB.
Now I want that my webapp automatically does a query each 1 minute
(maybe with a thread?!) and update the bean so the jsp will update it's
data reading the bean.
How can I do this?
any example on internet?
Thanks a lot guys
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top