Announcement Announcement Module
Collapse
No announcement yet.
How to Run thread From Controller class Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to Run thread From Controller class

    Hi,

    For my current app I am using Spring MVC. i have two queries
    for paging purpose.
    1) count query
    2) result query

    both are taking 5 sec each . So user should wait upto 12 sec to view the result. I need to run the count query as a sperate thread. How to run the thread from Controller class.

    Any suggestions pls
Working...
X