How does the servlet container use the order of filter mappings in web.xml?
- Filters are executed based on the order of their registration in the servlet container
- Filters are executed based on the order specified in web.xml
- Filters are executed in alphabetical order
- Filters are executed in random order
The servlet container uses the order of filter mappings in web.xml to determine the sequence in which filters are executed. Filters are executed based on the order specified in web.xml.
Loading...
Related Quiz
- In the context of XSS prevention, what does the acronym CSP stand for?
- For file download, what Content-Type should be set in the servlet response?
- What is the difference between 'dirty read' and 'non-repeatable read' in the context of transaction isolation levels?
- If an application needs to clean up resources when the application is shut down, which listener should be used?
- To maintain a separation of concerns, servlets in MVC should not directly manipulate the __________.