aspose file tools
The moose likes JSP and the fly likes Using Multithreading in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Using Multithreading in JSP " Watch "Using Multithreading in JSP " New topic
Author

Using Multithreading in JSP

Shanu Bannerjee
Greenhorn

Joined: Oct 16, 2004
Posts: 1
Hi,
I have a JSP page which does database(mysql) access to retrieve data. This process takes a long time and the page is blocked till then. I wanted to know if it is possible for me to do the database access and simultaneously navigate through other pages in the software. Just wanted to know the best possible solution for this. Can I use multithreading for this wherein I can access the database using one thread and with other thread I can continue the GUI processing or navigate through some other page. Please give me an idea of all possible solution for this.
Hope I am clear,
Shanu
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12268
    
    1
Handling long-running queries has been discussed frequently on the JSP and servlet forums. You should browse the last few weeks of posts or do a search.
Bill
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Using Multithreading in JSP
 
Similar Threads
Implementing stack using threads
New web site design technologies??
html navigation using arrows
EJb and incoming requests
smart card integration on jsp page