GeeCON Prague 2014*
The moose likes Struts and the fly likes Running Heavy Background process in struts 1.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Running Heavy Background process in struts 1.2" Watch "Running Heavy Background process in struts 1.2" New topic
Author

Running Heavy Background process in struts 1.2

Ganesh Gore
Greenhorn

Joined: Jan 03, 2011
Posts: 24

I am calling a heavy background process in action class. While the process is being completed i need to display a progress bar on jsp page and periodically check whether the process is completed and if yes then display result page.
Please help how it can be done with threads.
Richard Golebiowski
Ranch Hand

Joined: May 05, 2010
Posts: 213

This really isn't a Struts issue and if you do some searching you will find that people have asked about this in the past. There are a number of ways to do what you ask and one solution can be found here.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Running Heavy Background process in struts 1.2