Assume that the following
servlet mapping is defined in the deployment descriptor
of a web application:
Which of the following requests will not be serviced by TestServlet? (Select one)
a /hello.asp
b /gui/hello.asp
c /gui/hello.asp/bye.asp
d /gui/*.asp
e /gui/sales/hello.asp
f /gui/asp
Answer: f
Explanation
Here, any request that ends with .asp will be directed to TestServlet. Thus,only answer f will not be serviced by TestServlet.
But what i want to day is - "As per HFSJ, the extension directory
pattern for a servlet url-pattern must me mandatorily *.do. So the above d.d is invalid ? is it ??