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 you create a session in servlet?
What are advantages of servlets over cgi?
What is the major difference between context parameter and context attribute?
What is the life cycle of a servlet?
A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?
What is servletconfig?
Write a servlet to upload file on server.
How do you design microservices?
What are all the protocols supported by httpservlet?
What is the difference in between the httpservlet and generic servlet?
Why do we need a constructor in a servlet if we use the init method?
Explain url encoding?
How can we include static files in the jsp page?
What is the functionality of actionservlet and requestprocessor?
What are the types of Session Tracking ?