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 is servlet and its types?

553


What is the use of java servlet api?

598


A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?

604


Can you create a deadlock condition on a servlet?

587


Why are servlets used?

527






What is meant by cookies?

610


What is the difference between servlet and jsp?

595


List the Different types of servlet?

578


What are life cycle methods of a servlet?

584


What is meant by session? Tell me something about httpsession class?

596


What is a web application and what is it’s directory structure?

582


What are the disadvantages of storing session state in cookies?

627


Explain the difference between get and post method in servlet?

598


What is the difference between get and post methods?

599


Explain Action Servlet?

621