File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
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: 3775

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: 14687
    
  16

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: 60059
    
  65

No. Is that clear enough?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by 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
Doubts in mocks
doubt in taglib
Marcus Green's Mock Question Confusion
Mock Exam Question doubt(j2eecertificate)
DD doubt