Lecture 12 - Servlets Part 2 Flashcards

1
Q

How do Servlets handle user requests?

A

•Servlets can get parameters from an HTML form

  • action – the address to which the form parameters data is sent
  • method – the HTTP method to use when passing parameters to the server
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does a http response include?

A

•The response includes:
–Status line: version, status code, status message
–Response headers
–Empty line
–Document

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Is the http response buffered?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly