lundi 30 mars 2015

How to update jsp status (from submitted to processing then success )if a spring batch job runing in background that will update a sql result status

I have a jsp that initiates a long running background process. It will update status first submitted when it call the job in between it will update processing and at last it updates as success



I need to send the user some feedback during the processing time and at the same time prevent the session from timing out.

Does anyone have some details (sample code) on how this can be done? currently the user just sits and waits with no status on the screen...which is bad. At the end of processing there is an sql result that needs to be displayed on the screen.


Thanks a lot - in advance.


Aucun commentaire:

Enregistrer un commentaire