How values can be passed from HTML page to servlet?

Answer Posted / samsudeen

Using <form tag>
ex : <form action=controller method=post>

The action controller is mapping in web.xml.

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of Servlet over CGI?

846


What is the use of httpservletrequestwrapper and httpservletresponsewrapper?

749


What is called Session Tracking?

809


What are the disadvantages of storing session state in cookies?

862


How we can call a jsp from the servlet?

708


How do you invoke a Servlet? What is the difference between doPost method and doGet method?

822


Elucidate servlet attributes and its scope?

740


Can you refresh servlet in client and server-side automatically?

789


Define the lifecycle for executing a jsp page.

802


Explain the different ways for servlet authentication?

765


What is a deployment descriptor?

811


How servlets are deployed in java?

708


List some life cycle methods of a servlet.

770


What are the different methods involved in generic servlet?

791


What is life cycle of Servlet?

782