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 279 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
Gracias!


mjenn52

  • Member
  • Posts: 351
Reply 3 on: Yesterday
Wow, this really help

 

Did you know?

Complications of influenza include: bacterial pneumonia, ear and sinus infections, dehydration, and worsening of chronic conditions such as asthma, congestive heart failure, or diabetes.

Did you know?

More than 2,500 barbiturates have been synthesized. At the height of their popularity, about 50 were marketed for human use.

Did you know?

Only 12 hours after an egg cell is fertilized by a sperm cell, the egg cell starts to divide. As it continues to divide, it moves along the fallopian tube toward the uterus at about 1 inch per day.

Did you know?

In inpatient settings, adverse drug events account for an estimated one in three of all hospital adverse events. They affect approximately 2 million hospital stays every year, and prolong hospital stays by between one and five days.

Did you know?

In 2006, a generic antinausea drug named ondansetron was approved. It is used to stop nausea and vomiting associated with surgery, chemotherapy, and radiation therapy.

For a complete list of videos, visit our video library