Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are the steps involved in placing a servlet within a package?

1037


How is a servlet implemented in code?

1032


What is difference between ServletResponse sendRedirect() and RequestDispatcher forward() method?

1060


what do you understand by url rewriting?

908


How to commuincate between an applet and a servlet?

997


What's the difference between servlets and applets?

998


What are the advantages of Servlet over CGI?

1095


What are important features of Servlet 3?

1061


Explain the servlet filter.

937


How to get the path of servlet in the server?

954


What’s the difference between genericservlet and httpservlet?

1031


Explain the working of service() method of a servlet.

903


What is the difference between 2 types of servlets?

1093


Explain the concept of ssi ?

999


Which protocol will be used by browser and servlet to communicate

1007