Hi,
Use the session to put information in..
HttpSession sess=req.getSession(true);
sess.putValue("name","Rajesh");
In the third servlet read it from the session
HttpSession sess=req.getSession(false);
String name=sess.getValue("name");
Hope this helps..
Rajesh
* * * * * * * * *
V Rajesh
214 Askok,
BITS Pilani
email : [EMAIL PROTECTED]
Without the rocks in its bed,
The stream would have no song......
* * * * * * * * *
On Wed, 30 Aug 2000, Dentak Raman wrote:
> Hi all,
> I'm facing a problem where I've to take my data from 1st servlet to third
> servlet without making it visible to the user when it is being transferred
> from 2nd servlet to third. I'm using HTML and I don't want to use hidden
> text field in it. For eg, a user enetrs his name in the first page then on
> submitting, the second page is shown which has some other details but NOT
> his name. Now in the third page I want his name, so how should I do it...???
> I don't even want to use servlet context neither the getHeader() function.
> Regards,
> Dentak.
>
> Dentak Raman
> Senior Software Engineer,
> TechSpan India Pvt. Ltd.
> Contact #'s:
> Off: 91-118-4512710 - 12 Ext:274
> Res: 91-118-4513891
> www.techspan.com
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html