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 are the steps involved in placing a servlet within a package?
How is a servlet implemented in code?
What is difference between ServletResponse sendRedirect() and RequestDispatcher forward() method?
what do you understand by url rewriting?
How to commuincate between an applet and a servlet?
What's the difference between servlets and applets?
What are the advantages of Servlet over CGI?
What are important features of Servlet 3?
Explain the servlet filter.
How to get the path of servlet in the server?
What’s the difference between genericservlet and httpservlet?
Explain the working of service() method of a servlet.
What is the difference between 2 types of servlets?
Explain the concept of ssi ?
Which protocol will be used by browser and servlet to communicate