2017年11月30日 星期四

QUESTION 45

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.
<welcome-file-list>
    <welcome-file> welcome .jsp</welcome-file>
    < welcome-file>index.html</welcome-file>
< /welcome-file-list>
C.
<welcome>
    < welcome-file>welcome.jsp</welcome </welcome >
< /welcome >
<welcome>
    < welcome-file>index.html<//welcome-file>
< /welcome >
D.
<welcome-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>


Correct Answer: B

沒有留言:

張貼留言