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
How can we refresh automatically when new data is entered into the database?
Write a program to show the functionality of servlets.
What is the life-cycle of servlets?
What is the use of request dispatcher interface?
Explain in brief the directory structure of a web application?
What is servletconfig?
What are the different types of servlets?
What is servlet used for?
Write a servlet to upload file on server.
Explain the working of service() method of a servlet.
What is the use of send redirect () method?
Define declaration.
Why servlet is used as controller ? Not JSP? I want complete explation?
What is Servlet API used for connecting database?
What is the functionality of actionservlet and requestprocessor?