Hi,
Why don't you use HttpSession?
When somebody logs in you put the userid in the session
and in Bulletin Board servlet just check if there is a userid in the
session.
For more info about session tracking see the servlet tutorial at sun.
Best wishes,
Andras.
----- Original Message -----
From: "Purav" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 21, 2000 2:23 PM
Subject: FW: Request Dispatcher
> -----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
___________________________________________________________________________
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