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
2
Q
What does a http response include?
A
•The response includes:
–Status line: version, status code, status message
–Response headers
–Empty line
–Document
3
Q
Is the http response buffered?
A