|
INTERVIEW QUESTIONS
J2EE
SERVLET
DETAILS
Question: What is the difference between GET and POST
Answer: In GET your entire form submission can be encapsulated in one URL, like a hyperlink. query length is limited to 260 characters, not secure, faster, quick and easy. In POST Your name/value pairs inside the body of the HTTP request, which makes for a cleaner URL and imposes no size limitations on the form's output. It is used to send a chunk of data to the server to be processed, more versatile, most secure.
|
|
|
Category |
Servlet Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.3) By 6961 users |
Added on |
9/14/2014 |
Views |
67309 |
Rate it! |
|
|
Question:
What is the difference between GET and POST
Answer:
In GET your entire form submission can be encapsulated in one URL, like a hyperlink. query length is limited to 260 characters, not secure, faster, quick and easy. In POST Your name/value pairs inside the body of the HTTP request, which makes for a cleaner URL and imposes no size limitations on the form's output. It is used to send a chunk of data to the server to be processed, more versatile, most secure. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
Can we use the constructor, instead of init(), to initialize servlet?
|
View Answer
|
|
How can I send user authentication information while making URL Connection?
|
View Answer
|
|
Request parameter How to find whether a parameter exists in the request object?
|
View Answer
|
|
When using servlets to build the HTML, you build a DOCTYPE line, why do you do that?
|
View Answer
|
|
What is filter? Can filter be used as request or response?
|
View Answer
|
|
If a servlet is not properly initialized, what exception may be thrown?
|
View Answer
|
|
When a client request is sent to the servlet container, how does the container choose which servlet to invoke?
|
View Answer
|
|
What is servlet container?
|
View Answer
|
|
Why is Servlet so popular?
|
View Answer
|
|
How many times instantiation phase executed in Servlets?Explain briefly.
|
View Answer
|
|
Apart from context param , is there any other way to set/declare the global variable to access over the application?
|
View Answer
|
|
5.we have two servlets A,B .one jsp. A does not authorised to access that jsp. B have authorisation toaccess to that jsp.But A does not know that B has authorisation.So howyou access the jsp from A.
|
View Answer
|
|
What is the servlet?
|
View Answer
|
|
Difference between application server and web sever?
|
View Answer
|
|
What is the difference between servlets and jsp?
|
View Answer
|
|
how do you compile servlet program?
|
View Answer
|
|
Why init is used and not constructor for servlets initialization?
|
View Answer
|
|
How can we refresh the servlet for every 2 minutes automatically?
|
View Answer
|
|
What is servlet ,what is the use of it?
|
View Answer
|
|
How can a web container know whether cookies are accepted or not accepted by the browser
|
View Answer
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All Servlet Interview Questions & Answers - Exam Mode /
Learning Mode
|