This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes WEB.XML is case sensitive?? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Reply Bookmark "WEB.XML is case sensitive??" Watch "WEB.XML is case sensitive??" New topic
Author

WEB.XML is case sensitive??

Poonam Agarwal
Ranch Hand

Joined: May 12, 2008
Posts: 323
hello rancher,
the below code from examulator....

Which of the following statements are true?
Choose at least one answer.
A. A deployment descriptor is not mandatory for configuring and running a servlet. Servlets must be configured via a deployment descriptor (unlike JSP pages).

B. A deployment descriptor is not mandatory for configuring and running a JSP page

C. The deployment descriptor consists of XHTML tags

D. The deployment descriptor consists of XML tags

E. The deployment descriptor must have the name WEB.XML

F. The deployment descriptor must have the name DEPLOY-XML

Its shows E is the correct option. I thought name of the deployment descriptor is case sensitive.

please verify.

Thnaks


Thanks <br />Poonam Agarwal SCWCD 86%
nisha chidella
Ranch Hand

Joined: Jul 24, 2008
Posts: 57

I thought name of the deployment descriptor is case sensitive.


yes it is..it's always web.xml

shouldn't the answer be D. It's a xml file so doesn't it consist of xml tags ?


SCJP 5.0(100%)
Preparing for SCWCD
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3670

And what is the meaning of the option A ?

A. A deployment descriptor is not mandatory for configuring and running a servlet. Servlets must be configured via a deployment descriptor (unlike JSP pages).


Isn't this two sentences contradict each other?


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
Poonam Agarwal
Ranch Hand

Joined: May 12, 2008
Posts: 323
sorry vijitha, but not getting you
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14672
    
  11

Isn't this two sentences contradict each other?

Yes


[My Blog]
All roads lead to JavaRanch
Poonam Agarwal
Ranch Hand

Joined: May 12, 2008
Posts: 323
still not getting my answer. is WEB.XML is a valid name for DD?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56192
    
  13

No. Is that clear enough?


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Poonam Agarwal
Ranch Hand

Joined: May 12, 2008
Posts: 323
Yes Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WEB.XML is case sensitive??
 
Similar Threads
doubt in taglib
Doubts in mocks
DD doubt
Mock Exam Question doubt(j2eecertificate)
Marcus Green's Mock Question Confusion