Which defines the welcome files in a web application deployment descriptor?

Which defines the welcome files in a web application deployment descriptor?

Which defines the welcome files in a web application deployment descriptor?

A.
<welcome>
<welcome- file >/ welcome – jsp</welcome-file>
</welcome>
<welcome>
<welcome-file>/index-html</welcome-file>
</welcome>

B.
<we1come-file-list>
<welcome-file> welcome .jsp</welcome-file>
<welcome-file>index.html</welcome-file>
</welcome-file-list>

C.
<welcome>
<welcome-file>welcome.jsp</welcome </we1come >
</welcome >
<welcome-file>index.html<//welcome-file>
</we1come >

D.
<we1come-file-list>
<welcome-file> welcome .jsp</welcome-file>
<welcome-file>/index.html</welcome-file>
</welcome-file-list>

E.
<welcome>
<welcome-file>
<welcome-name> welcome </welcome-name>
<location> welcome.jsp </location>
</welcome-file>
<welcome-file>
<welcome-name>index</welcome-name>
<location> index </location>
</welcome-file>
</welcome>



Leave a Reply 3

Your email address will not be published. Required fields are marked *


Ouadie

Ouadie

The Correct answer is : B

Allan Santos

Allan Santos

B.
Sample:

home.html
default.html

Allan Santos

Allan Santos

B.

<b>sample</b>
<welcome-file-list>
<welcome-file>home.html</welcome-file>
<welcome-file>default.html</welcome-file>
</welcome-file-list>