It sounds like your form is using  the "get method"  <form method="get"
action="studies.jsp">  change the method from get to "Post".

Josh
----- Original Message -----
From: Mike Francis <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 23, 1999 12:50 PM
Subject: User login


> I am new to the JSP scene.  Any help with this problem would be greatly
appreciated.
> I've written a bean that handles a database connection and the queries to
the
> database.  I use a form to allow the user to type in their username and
password.
> When they hit the "login" button to submit the form the next page sets the
username
> and password in the database bean.  However this page shows the parameters
in the URL
> in the browsers "Location" window.
>
>
http://xwing.myriad.com:8080/mikef/jsp/num/studies.jsp?username=mike&passwor
d=mypassword
>
> If someone looks over my shoulder as I log in they would see my password.
Is there a
> slicker way to allow a user to login.
>
> I thought I could use javascript to setUser and setPassword in my database
bean in
> the "onclick" event of the form's login button, but I don't know how to
reference the
> bean from javascript.
>
> Thanks in advance for your help.
>
> mike
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to