In this case you don't need in parameters in url. Just in your servlet which handle request you can get values of parameters "user" and "password" direct from input elements. For example: Thist is a html-page: <form method="post" url="loginservlet"> ... <input name="user" type="text"> <input name="password" type="password"> ... </form>
Pay attention that form's mthod is POST. Geert Van Landeghem wrote: > Ok, but I'm asking the user to enter > these values in textfields in a form. > > -----Original Message----- > From: Dmitrij Trunikov [mailto:[EMAIL PROTECTED]] > Sent: maandag 4 maart 2002 14:50 > To: [EMAIL PROTECTED] > Subject: Re: How to hide ?user=xxxx&password=yyyy? > > Hi! > You can use hidden parameters in html page: > > <input name="user" type="hidden" value="???"> > <input name="password" type="hidden" value="???"> > > Geert Van Landeghem wrote: > > > Does anyone know how to hide parameters in the URL > > when using the doGet() method? I just don't want > > parameters and their value being shown in the > > address bar. > > > > ___________________________________________________________________________ > 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 ___________________________________________________________________________ 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
