Hi Purav,
When you create RequestDispatcher you can provide the Parameters in
the URL. Something like this.
RequestDispatcher rd =
getServletContext().getRequestDispatcher("Servlet2?user=abc&Pass=xyz");
Bye,
Jiger
>From: Purav <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
> Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: FW: Request Dispatcher
>Date: Mon, 21 Aug 2000 13:23:36 +0200
>
>-----Original Message-----
>From: Purav
>Sent: Monday, August 21, 2000 1:22 PM
>To: [EMAIL PROTECTED]
>Subject: Request Dispatcher
>
>
>Hello,
>
>I have a link called as Bulletin Board on my site.
>For a user to able to use the bulletin board, he has to supply the user
>name
>and password
>But the user has already logged in into the site. so i want to use the same
>username and password
>so i just want to pass the username and password to the bulletin board
>login
>page which will automatically take him to tha main page of Bulletin Board
>
>But i cannot store the password in a hidden field as it will be seen when
>he clicks ion View Source in IE
>
>So i am posting the form to a middle servlet which gets the password from
>the database and then passes on to the bulletin board page
>
>But i dont want to use a resonse.sendRedirect method as the username and
>password are seen on the title bar. This is because i am opening it in a
>new
>window
>
>
>So i am using RequestDispatcher method. but how can you then pass the
>password to the bulleting board page as with RequestDispatcher i can just
>forward the Request
>
>
>Please help. I am stuck here for a long time now
>
>
>Purav
>
>___________________________________________________________________________
>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
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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