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
What is servlet initializer?
What is a servlet engine?
What is difference between get and post method?
What are the functions of an intercepting filter?
What is MIME Type?
Can you use javascript in servlets?
How can you run a servlet program?
Is that servlet is pure java object or not?
How we can call a jsp from the servlet?
What is the use of httpservletrequestwrapper and httpservletresponsewrapper?
What are its drawbacks of cgi?
What is the purpose of inter-servlet communication?
What is a servlet context object?
What are the mechanisms used by a servlet container for maintaining session information?
What is the life cycle of a servlet?