Answer Posted / srinu
doGet:-
1)doGet() method this is default HttpRequest method
2)The request parameters as a query string in the Visible in
address bar.
3)it sends limited data
4)security is low because query string visible in the
address bar
5)It doesn't used multiform content data(i.e file uploading
operation) never used.
6)small scale application.
doPost:-
1)doPost()method this n't a default HttpRequest method
2)The request parameters as a query string does n't Visible
in address bar.
3)it sends unlimited data.
4)Security is high.
5)its used for multiform content data
6)large scale application.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
How can we include static files in the jsp page?
Which HTTP method is non-idempotent?
What do you mean by servlet?
What is the difference between portlet and servlet?
What is the use of java servlet api?
How we can create war file in servlet?
How printwriter is different from servletoutputstream?
How are filters?
What do you mean by cgi and what are its drawbacks?
Explain url encoding in servlet?
When to use doget() and when dopost()?
Differentiate between get and post?
Is tomcat a servlet container?
What are sessions in servlets?
What do you mean by httpservlet and how it is different from the genericservlet?