How values can be passed from HTML page to servlet?
Answer Posted / satya
there are two ways in passing form data to a servlet
in case of the form using GET method
-------------------------------------
the form data is appended as a query string after the
end of the url in the address bar of the browser
in case of the form using POST method
--------------------------------------
the form data is added to the body part of the Http
protocol request body .this form data is called as payload
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Is that servlet is pure java object or not?
Why doesn’t a servlet include main()? How does it work?
Explain web container.
Describe in brief RequestDespatcher?
What are sessions in servlets?
What is cookie? Why is cookie used?
What is cookie in servlet?
Explain the role of dispatcherservlet and contextloaderlistener.
What is servletconfig?
How do we call one servlet from another servlet?
Name the different ways of session tracking.
What's the servlet interface?
What is the directory structure of a war file?
What is the need of servlet filters?
What is difference between the HTTP Servlet and Generic Servlet? Explain about their methods and parameters?