Read the archives to this and the servlet list. This has been discussed
sooooo many times.
Simpley - POST allows for updating state at the server (inserting a row into
a DB maybe), GET is query only. It's easier to manage these logical
differences with two methods,
Kevin Jones
DevelopMentor
www.develop.com
> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of ShriKant Vashishtha
> Sent: 19 October 2000 07:36
> To: [EMAIL PROTECTED]
> Subject: doPost vs doGet.
>
>
> Hi,
>
> As you must be aware that whatever processing we can do with doGet()
> method of servlet can also be done with doPost() also. Except saving the
> hyperlink as a bookmark, or showing the parameters passed what are the
> advantages or disadvantages using doGet() and doPost(). Simply if we can
> do everything with doPost, why do we need a doGet().
>
> Thanks,
>
> Cheers........
> -ShriKant
>
> ==================================================================
> =========
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set
> JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets