Jsp Threads?
843836Jul 28 2004 — edited Jul 29 2004OK, here's the situation...
I have a jsp page doing some kind of online booking. It passes various data to a servlet (X).
The servlet does several things, 2 of those things are book in the product with the given variables and dispatch a jsp page (s) which displays the result.
What the servlet can also do is dispatch a jsp page (r) of the receipt from the given parameters.
My task is to write a function in (s), while the jsp loads it also connects to (r) and grab the html and save it locally.
The problem right now is I have constructed the correct URL to connect to (r), but every time I try to connect to (r) it is blank. I can only access (r) when (s) is complete. So this means I cannot call this function in (s).
Keep in mind, I dont have access to the servlet, only jsp files.
Does this mean I need to create a separate thread for the function?
Can anyone help?