To access the MIME type of a file, use the __________ method of ServletContext.
- analyzeMimeType()
- fetchMimeType()
- getMimeType()
- retrieveMimeType()
To access the MIME type of a file, use the getMimeType() method of ServletContext.
Loading...
Related Quiz
- What is the impact of calling request.getParameter() after request.getInputStream() or request.getReader() in a servlet?
- To optimize performance, a servlet should cache frequently used data in the ________.
- Reducing the number of database ________ can significantly improve performance in a web application.
- The __________ attribute of the session object is used to store objects.
- How does the servlet container use the order of filter mappings in web.xml?