Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Jsp Threads?

843836Jul 28 2004 — edited Jul 29 2004
OK, 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?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 26 2004
Added on Jul 28 2004
5 comments
39 views