This topic contains a solution. Click here to go to the answer

Author Question: Suppose the two parameters in the doGet or doPost method are request and response. To retrieve a ... (Read 277 times)

tiara099

  • Hero Member
  • *****
  • Posts: 588

Question 1

Suppose the two parameters in the doGet or doPost method are request and response. To send a cookie to a client, use ________.
◦ request.addCookie(cookie)
◦ response.sendCookie(cookie)
◦ request.sendCookie(cookie)
◦ response.addCookie(cookie)

Question 2

Suppose the two parameters in the doGet or doPost method are request and response. To retrieve a cookie from a client, use ________.
◦ response.getCookie()
◦ You have to use request.getCookie() to obtain a cookie
◦ response.retrieveCookie()
◦ You have to use request.getCookies() to obtain all cookies in an array


Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by tiara099 on May 6, 2020

nicoleclaire22

  • Sr. Member
  • ****
  • Posts: 318
Lorsum iprem. Lorsus sur ipci. Lorsem sur iprem. Lorsum sur ipdi, lorsem sur ipci. Lorsum sur iprium, valum sur ipci et, vala sur ipci. Lorsem sur ipci, lorsa sur iprem. Valus sur ipdi. Lorsus sur iprium nunc, valem sur iprium. Valem sur ipdi. Lorsa sur iprium. Lorsum sur iprium. Valem sur ipdi. Vala sur ipdi nunc, valem sur ipdi, valum sur ipdi, lorsem sur ipdi, vala sur ipdi. Valem sur iprem nunc, lorsa sur iprium. Valum sur ipdi et, lorsus sur ipci. Valem sur iprem. Valem sur ipci. Lorsa sur iprium. Lorsem sur ipci, valus sur iprem. Lorsem sur iprem nunc, valus sur iprium.
Answer Preview
Only 50% of students answer this correctly




tiara099

  • Member
  • Posts: 588
Reply 2 on: May 6, 2020
Excellent


xiaomengxian

  • Member
  • Posts: 311
Reply 3 on: Yesterday
Gracias!

 

Did you know?

In 2010, opiate painkllers, such as morphine, OxyContin®, and Vicodin®, were tied to almost 60% of drug overdose deaths.

Did you know?

Glaucoma is a leading cause of blindness. As of yet, there is no cure. Everyone is at risk, and there may be no warning signs. It is six to eight times more common in African Americans than in whites. The best and most effective way to detect glaucoma is to receive a dilated eye examination.

Did you know?

Human neurons are so small that they require a microscope in order to be seen. However, some neurons can be up to 3 feet long, such as those that extend from the spinal cord to the toes.

Did you know?

During the twentieth century, a variant of the metric system was used in Russia and France in which the base unit of mass was the tonne. Instead of kilograms, this system used millitonnes (mt).

Did you know?

As many as 28% of hospitalized patients requiring mechanical ventilators to help them breathe (for more than 48 hours) will develop ventilator-associated pneumonia. Current therapy involves intravenous antibiotics, but new antibiotics that can be inhaled (and more directly treat the infection) are being developed.

For a complete list of videos, visit our video library