> GET: is faster - but the Max size of your data is 128 bytes only.
> - The browser sends information to the server in 1 transmission- data is
> included in the header
> - The Get passes the form values as command-line: ex
> www.sa.com/servlet/myservlet?param1=xx&parm2=ccc
>
> POST: is slower
> - The browser sends information to the server in 2 transmissions- data is
> included in the body (2nd transmission)
> therefore the data ca be encrypted.
Sorry but this just isn't right. You are sending that same amount of data
whether it is all on one line or split over headers/body
> - The browser sends information to the server in 2 transmissions- data is
> included in the body (2nd transmission)
This in particular is nonsense!
Read the RFC (2161 http://www.ietf.org/rfc/rfc2616.txt?number=2616) for the
details. GET processing is non-idempotent, POST processing must be
idempotent!
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 homai
> Sent: 20 January 2001 18:16
> To: [EMAIL PROTECTED]
> Subject: Re: doPost vs doGet.
>
>
> GET: is faster - but the Max size of your data is 128 bytes only.
> - The browser sends information to the server in 1 transmission- data is
> included in the header
> - The Get passes the form values as command-line: ex
> www.sa.com/servlet/myservlet?param1=xx&parm2=ccc
>
> POST: is slower
> - The browser sends information to the server in 2 transmissions- data is
> included in the body (2nd transmission)
> therefore the data ca be encrypted.
>
> ----- Original Message -----
> From: "Kevin Jones" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, January 18, 2001 11:41 PM
> Subject: Re: doPost vs doGet.
>
>
> > 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
> >
>
> ==================================================================
> =========
> 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