You could store the hashArray in the request object (request.setAttribute) and then forward the request using a RequestDispatcher - better than using servlet chaing IMO,
 
Kevin
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Yogesh Agarwal
Sent: 01 July 1999 10:37
To: [EMAIL PROTECTED]
Subject: Servlet Chain...pls help

Hi all,
 
I am facing a problem with servlet chaining. I am developing a servlet application in which my first servlet (say A) posts a req. to servlet B which in turns posts to servlet C. Now, I retrieve some data from the database in servlet B and store it in a HashArray. Now I want that HashArray to be used in servlet C. How do I pass the hashArray in sevlet B to ServletC ? Any instant help will be highly appreciated.
Thanx in Advance
 
Yogesh Agarwal
 
Software Engineer
IMRGlobal Corp.
#22, SEEPZ, Andheri(E),
Mumbai - 400 096
Phone : 91-22-8291421  Ext 151
Mail to : [EMAIL PROTECTED]m

Reply via email to