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

Moderator: admin

Post Reply
asarkar
Posts: 2
Joined: Fri Jan 28, 2011 7:46 pm
Contact:

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

Post 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.
Last edited by asarkar on Sat Jan 29, 2011 7:48 pm, edited 1 time in total.

Guest

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

Post by Guest »

Hi! Why do you think it is not a valid extension mapping?

asarkar
Posts: 2
Joined: Fri Jan 28, 2011 7:46 pm
Contact:

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

Post 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.

Post Reply

Who is online

Users browsing this forum: No registered users and 29 guests