Instead of using method="get" in the opening form tag use method="post" . This the basic of HTML you should already know, if not have look at w3schools for more examples .
One more thing, you should be sending the username and password for validation to servlet not another page from which you attempt to connect with database
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902