Hi,
Create a new Session and put values of LoginName and password.
and use getValue() to get those values.

Hsession.putValue("LoginName",LoginName);
Hsession.putValue("Password",Password);
String slog= (String)Hsession.getValue("LoginName");
String spasswd= (String)Hsession.getValue("Password");


Hope this helps,
Raj


>From: sufi malak <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
>     reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: login.jsp
>Date: Wed, 20 Sep 2000 01:45:10 GMT
>
>Hi, I am looking for a login jsp file that keep track  (session) of the
>user
>name ( because I need the username to save it whenever the user  do some
>actions like add, delete or update, and when the username/password are
>correct, forward to a framset.
>I saw this example somewhere but don't remember(login.jsp,
>loginbean.java..)
>Please help me.
>_________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>Share information about yourself, create your own public profile at
>http://profiles.msn.com.
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
>http://java.sun.com/products/jsp/faq.html
>http://www.esperanto.org.nz/jsp/jspfaq.html
>http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to