What is the significance of the Last-Modified header in HTTP servlet responses?
- It controls the cache behavior for the servlet response.
- It indicates the last modification time of the servlet.
- It signals the client to request the servlet again.
- It specifies the expiration time of the servlet.
The Last-Modified header informs the client about the last modification time of the servlet, allowing the client to cache the response and avoid unnecessary requests if the content hasn't changed.
Loading...
Related Quiz
- How does the servlet container use the order of filter mappings in web.xml?
- Which listener interface is implemented to track session creation and destruction?
- What is the impact of calling request.getParameter() after request.getInputStream() or request.getReader() in a servlet?
- What is the primary purpose of using HTTPS instead of HTTP in servlets?
- What is the purpose of the FilterConfig object in Servlet filters?