Hi, this seems to be a long one, please bear with me,
I have
jsp A,
servlet B running on web app 1, and jsp C and servlet D running on web app2.
jsp A invokes servlet B, then B opens a URLConnection to servlet D, and writes some information through the connection. servlet D reads the information through the connection and invokes jsp C, passing .
My question is, how do I delegate control from jsp A over to jsp C? I believe once the URLConnection is closed, the control is still on servlet B of app 1. If I use response.sendRedirect to invoke servlet D after I close the URLConnection, the information I passed through URLConnection will be lost because my request will probably be handled by a new
thread of servlet D, correct?
I can not use sendRedirect to pass the information because it is likely to run out of limit.
Thanks for your help.
Arnold