Page 1 of 1

About Question com.enthuware.ets.scwcd.v5.2.302 - SOLVED

Posted: Fri Jan 28, 2011 7:56 pm
by asarkar
A web.xml contains the following elements:

Code: Select all

<servlet-mapping>
    <servlet-name>BlueServlet</servlet-name>
    <url-pattern>*insert code here*</url-pattern>
</servlet-mapping>
*.blue is given as one of the correct answers. It does not start with "/" and is not a valid extension mapping.

Re: About Question 65 - com.enthuware.ets.scwcd.v5.2.302

Posted: Sat Jan 29, 2011 6:38 am
by Guest
Hi! Why do you think it is not a valid extension mapping?

Re: com.enthuware.ets.scwcd.v5.2.302 - SOLVED

Posted: Sat Jan 29, 2011 7:47 pm
by asarkar
It's my bad; I was mistaken by the language of the answer. It says "The only rule that you need to remember here is that a url-pattern always starts with a / except when it is an extension mapping".
I missed except.
*.blue is a valid extension mapping.