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
Which java framework is most popular?
What are the various ways of session supervision in servlets?
Explain the architechure of a servlet?
Write a simple servlet program to print the contents of html.
What is session?
Why do we have servlet listeners?
What is the difference between Servlet Request and Servlet Context when calling a Request Dispatcher?
Can we use threads in Servlets?
What are sessions in servlets?
In the servlets, we are having a web page that is invoking servlets ,username and password? which is checks in database? Suppose the second page also if we want to verify
Is dispatcher servlet a singleton?
How to rectify errors in java servlet while compilation?
Explain the servlet context.
What is lazy loading and what is Generic Servlet Class?
Can we refresh servlet in client and server side automatically?