Because this methods send parameters in request in different ways :) You should to read HTTP specification for details.
Geert Van Landeghem wrote: > ok, i know that but why are parameters shown when using > GET and not when using POST? > > -----Original Message----- > From: Dmitrij Trunikov [mailto:[EMAIL PROTECTED]] > Sent: maandag 4 maart 2002 15:07 > To: [EMAIL PROTECTED] > Subject: Re: How to hide ?user=xxxx&password=yyyy? > > Briefly, if you set attribute "method" in tag <form> to "GET" then your > sevlet > have to handle this form in method doGet(). If method is "POST" then your > sevlet have to handle this form in method doPost(). > > Geert Van Landeghem wrote: > > > No, it's set to GET. Can you explain me the differences between > > using doGet() and doPost() concerning this topic or redirect me > > to info explaining the differences between these two methods? > > > > -----Original Message----- > > From: Ed Sabine [mailto:[EMAIL PROTECTED]] > > Sent: maandag 4 maart 2002 15:05 > > To: [EMAIL PROTECTED] > > Subject: Re: How to hide ?user=xxxx&password=yyyy? > > > > Is your <form method="">set to POST? It sounds like it's set to GET. > > > > Regards, > > Ed > > > > -----Original Message----- > > From: A mailing list for discussion about Sun Microsystem's Java Servlet > API > > Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Geert Van > > Landeghem > > Sent: 04 March 2002 14:02 > > To: [EMAIL PROTECTED] > > Subject: Re: How to hide ?user=xxxx&password=yyyy? > > > > 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 > > > > > ___________________________________________________________________________ > > 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 ___________________________________________________________________________ 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
