A servlet's URL pattern is specified in the __________ element in the web application's deployment descriptor.
- servlet-mapping
- servlet-url
- url-mapping
- url-pattern
The url-pattern element in the web application's deployment descriptor is used to specify a servlet's URL pattern, mapping it to a particular servlet.
Loading...
Related Quiz
- A servlet needs to load database settings at startup. How should these settings be passed to the servlet?
- What is the primary interface for handling HTTP requests in Java servlets?
- How should a developer handle a scenario where a stored procedure returns multiple result sets?
- What does thread-safe mean in the context of servlets?
- A servlet needs to send a file to the client with a specific filename. Which response header should be set and by which method?