ramsin112400
asked on
How to Call a JSP in between from Struts Action Class while processing a text file?
Hi All,
I'm processing a text file i.e in the struts action class.. reading each line of text file and tokenizing it and consturcting an value object
and passing it to an EJB. If the text file contains 1500 records(lines) and if it is takinig more
than 5000 milli seconds to process the 1500 lines, then instead of making wait the user, i
would like to send a confirmation number, by which he can check the status afterwards.
My concern is if the processing time is more than 5000 ms , then i need to call a JSP from my
struts action class and will display the confirmation number to the user, but in the background
the processing should be going on till all the lines in the file gets completed.
How can i call a JSP from Action class in between while the text file is processing .
Thanks,
Ram
I'm processing a text file i.e in the struts action class.. reading each line of text file and tokenizing it and consturcting an value object
and passing it to an EJB. If the text file contains 1500 records(lines) and if it is takinig more
than 5000 milli seconds to process the 1500 lines, then instead of making wait the user, i
would like to send a confirmation number, by which he can check the status afterwards.
My concern is if the processing time is more than 5000 ms , then i need to call a JSP from my
struts action class and will display the confirmation number to the user, but in the background
the processing should be going on till all the lines in the file gets completed.
How can i call a JSP from Action class in between while the text file is processing .
Thanks,
Ram
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.