___________________________________________________________________________

Hello Rajesh Kumar:

Choosing doGet or doPost is a question of parameters.

doGet simple uses the URL to transfer parameters by adding a
? param1=xxxx&param2=yyyy to the URL. This is simple and works, and the
complete URL can be saved as a bookmark in the browser. It is also easy to
test your servlet, because you may simply enter the parameters in the URL
using your browser without needing a HTML page with form.
However, the allowable length of the URL is limited, so lengthy parameter lists
would be a problem. And if you for instance have a form with a password,
this will be revealed in the URL.

With doPost the parameters are sent separately,

Regards

Laurids Pedersen
ELECTRIC EPHEMERIS
Laurids Pedersen

___________________________________________________________________________
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

Reply via email to