| Author |
DD Doubt
|
agrah upadhyay
Ranch Hand
Joined: Sep 01, 2005
Posts: 579
|
|
The folowing is a question from a mock paper on net. ########################################################################### # Which of these is true about deployment descriptors. Select the one correct answer. 1. The order of elements in deployment descriptor is important. The elements must follow a specific order. 2. The elements of deployment descriptor are case insensitive. 3. The servlet-mapping element, if defined, must be included within the servlet element. 4. The web-app element must include the servlet element. ########################################################################### The correct option given is (1). But I do not find any option to be correct.
|
<i>--Agrah Upadhyay--</i><br />Final Year B.Tech SCJP,SCWCD,SCBCD <br /> <br /><b>Now since the real test for any choice is having to make the same choice again,knowing full well what it might cost.</b>-Oracle
|
 |
Vishnu Prakash
Ranch Hand
Joined: Nov 15, 2004
Posts: 1026
|
|
But I do not find any option to be correct.
Me too
|
Servlet Spec 2.4/ Jsp Spec 2.0/ JSTL Spec 1.1 - JSTL Tag Documentation
|
 |
agrah upadhyay
Ranch Hand
Joined: Sep 01, 2005
Posts: 579
|
|
This is the question on javaprepare.com.And explanation given is: ************************************************ # a. The servlet specifications specifies a specific order of deployment descriptor. b is incorrect because elements are case-sensitive. The servlet-mapping element should be included within the element. So c is incorrect. All the elements within the web-app element are optional. So d is incorrect. ************************************************
|
 |
Vishnu Prakash
Ranch Hand
Joined: Nov 15, 2004
Posts: 1026
|
|
a. The servlet specifications specifies a specific order of deployment descriptor.
May be correct with earlier versions of spec. With servlet spec 2.4 elements can be of any order in web.xml.
|
 |
Narendra Dhande
Ranch Hand
Joined: Dec 04, 2004
Posts: 950
|
|
Hi, You can find more discussion here Thanks
|
Narendra Dhande
SCJP 1.4,SCWCD 1.4, SCBCD 5.0, SCDJWS 5.0, SCEA 5.0
|
 |
 |
|
|
subject: DD Doubt
|
|
|