Use Method=post instead of method=get....Do similar changes on your sevlet processing the form i.e. from doGet() to doPost()
----- Original Message -----
From: sidaty
Sent: Tuesday, September 14, 1999 2:08 PM
Subject: Problem with browsing PASSWORD field into Servlet URL

Hi all ,
 
I am facing the following problem :
Each time we access th main servlet of an application project , this servlet asks for the name and password of the user
who wants to connect to that application .
But the problem is that the password field he submits is always browsed into the URL window of the servlet.
like in the next line :
 
notice  the fields  name =user1
                          password=password1
How can i avoid such behavior and garantee that servlets will not expose people passwords publicly .
 
Thanks in advance . 
 

Reply via email to