Hi Mukul

Could u pls. send the snippets to me.B'coz, I don't  know anything about  that
book. Could u send the tittle and the publisher details....pls.

regards
wilson

Mukul Gandhi wrote:

> Hi,
> But the question was "the difference between doGet(), doPost() & service()
> methods of servlets !"
> u have correctly explained regarding the nature of GET & POST requests from
> the browser's perspective.
>
> But also - If u invoke a servlet using POST method from the browser u can
> call "doGet" in the servlet through doPost method. Just write
> doGet(request,response) in doPost. And vice-versa can be done  i.e doPost
> can be called inside doGet. Just write doPost(request,response) in doGet.
>
> I saw some good code snippets regarding this in Jason Hunter's book.
>
> -mukul
>
> At 11:35 AM 7/16/99 +0530, Wilson. P wrote:
> >Hi
> >
> >If u use dopost, the parameters as well as their values won't appear in the
> >URL. So, If u r doing any insert update , delete transactions  then u can go
> >for this..
> >
> >On the otherhand,if u use doGet,the parameters and their values would
> appear in
> >the URL. So, u can use in for retrieve , select statements. One more
> advantage
> >here is, users who access the page can bookmark that page and can  directly
> >visit that page..
> >
> >
> >Hope our folks can add more .....to get clarified..
> >
> >
> >regards
> >wilson
>
> ___________________________________________________________________________
> 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

--


begin:vcard
n:;Wilson
tel;work:5595740  Extn:224
x-mozilla-html:FALSE
org:Raffles Software Pvt.Ltd.
version:2.1
email;internet:[EMAIL PROTECTED]
title:Associate Systems Engineer
note:www.raffles-software.com
adr;quoted-printable:;;#121, 7th Floor,'The Estate'=0D=0ADickenson Road;Bangalore ;Karnataka;560042;INDIA
x-mozilla-cpt:;-1
fn:Wilson .P
end:vcard

Reply via email to