Question: Chapter 5 What are two steps in creating a servlet? Name two classes that a servlet can extend. Serializable and Externalizable. You can use methods

Chapter 5

What are two steps in creating a servlet?

Name two classes that a servlet can extend. Serializable and Externalizable.

You can use methods of the . object to get incoming data

You can use methods of the . object to set outgoing data

request is an object of the class .

response is an object of the class...

What kinds of exceptions a servlet can throw?

What do we need to do to be able to request a servlet?

How can we map a servlet to a URL (there are two ways)?.

What is the advantage of using web.xml to map a servlet to a URL?

What are three ways that you can request a servlet?

How can you append a parameter to a URL?

Which HTTP method does a browser use to send parameter via a URL to the server?

Which HTTP method does anchor tag use to send parameter to the server?

When should we use the HTTP GET method and when should we use HTTP POST method?

What are differences between POST and GET methods?

What is the difference between forwarding a request and redirecting?

What does data validation mean?

We can use JavaScript to validate data on . side ( client? Or server?)

Explain the lifecycle of a servlet.

What is the first method that is called for the first time when the servlet engine creates the instance of a servlet?

Why it is not recommended to use instance variables in servlets?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!