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 send output to ... (Read 230 times)

penza

  • Hero Member
  • *****
  • Posts: 1,022

Question 1

Suppose the two parameters in the doGet or doPost method are request and response. To specify HTML content type sent to the client, invoke ________.
◦ response.setContentType("html")
◦ request.setContentType("text/html")
◦ request.setContentType("html")
◦ response.setContentType("text/html")

Question 2

Suppose the two parameters in the doGet or doPost method are request and response. To send output to a client, create a PrintWriter using ________.
◦ response.getWriter()
◦ response.writer()
◦ response.getWrite()
◦ response.getPrintWriter()


Related Topics

Need homework help now?

Ask unlimited questions for free

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

kjo;oj

  • Sr. Member
  • ****
  • Posts: 328
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




penza

  • Member
  • Posts: 1,022
Reply 2 on: May 6, 2020
:D TYSM


ebonylittles

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

 

Did you know?

In ancient Rome, many of the richer people in the population had lead-induced gout. The reason for this is unclear. Lead poisoning has also been linked to madness.

Did you know?

Cytomegalovirus affects nearly the same amount of newborns every year as Down syndrome.

Did you know?

Asthma-like symptoms were first recorded about 3,500 years ago in Egypt. The first manuscript specifically written about asthma was in the year 1190, describing a condition characterized by sudden breathlessness. The treatments listed in this manuscript include chicken soup, herbs, and sexual abstinence.

Did you know?

On average, someone in the United States has a stroke about every 40 seconds. This is about 795,000 people per year.

Did you know?

If you could remove all of your skin, it would weigh up to 5 pounds.

For a complete list of videos, visit our video library