For form submission with file upload, the __________ content type and the _______ method are used.
- GET
- application/x-www-form-urlencoded
- multipart/form-data
- text/plain
For form submission with file upload, the multipart/form-data content type and the POST method are used. This allows for encoding binary data, such as file uploads, in the request.
Loading...
Related Quiz
- Describe the lifecycle of a WebSocket in a Java web application.
- In Java, which keyword is used to manually suggest the garbage collector?
- To ensure efficient use of database connections, pools use a technique called _________.
- How does ServletRequestAttributeListener differ from ServletRequestListener in its functionality?
- How can a servlet efficiently handle large file uploads without running out of memory?