Time out while printing
Hi all,
I've made a small webapplication (JSP and servlets) which sole function is to print pdf-files on request. To centralize printing, users print from one location whenever printers are available.
The amount of printjobs can vary from a single job to dozens. Even so the number of pages printed can vary from a single one up to some hundreds of pages.
Everything works well for the "small" jobs, but when I start printing multiple large files the first one is allright, but the second produces unreadable characters. I suppose I get some kind of session time out when printing the jobs as the jobs are handled one-by-one.
How do I solve this problem? I've thought about using a new thread for every printjob. Does anyone has any other sugesstions?
Thanks a lot and looking forward for your answers.
|