• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WEB.XML is case sensitive??

 
Poonam Agarwal
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
nisha chidella
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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 ?
 
Vijitha Kumara
Bartender
Pie
Posts: 3930
21
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Poonam Agarwal
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry vijitha, but not getting you
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Isn't this two sentences contradict each other?

Yes
 
Poonam Agarwal
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
still not getting my answer. is WEB.XML is a valid name for DD?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65335
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No. Is that clear enough?
 
Poonam Agarwal
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic