• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EL Function Doubt

 
sravanthi pulukuri
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Question from Mock Exam in WhizLabs



Which path is required to be present within a WAR file?
A. /classes
B. /index.html
C. /MANIFEST-INF
D. /WEB-INF/web.xml
E. /WEB-INF/classes
F. /WEB-INF/index.html
G. /META-INF/index.xml.

I thought answer would be D.but was given as E.
Please help.

Which three are described in the standard web application deployment descriptor? (Choose three.)
A. session configuration
B. MIME type mappings
C. context root for the application
D. servlet instance pool configuration
E. web container default port bindings
F. ServletContext initialization parameters.

answer was given as A,B,F

Please help.
 
Harvinder Thakur
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sravanthi pulukuri wrote:Hi,
Question from Mock Exam in WhizLabs

Which path is required to be present within a WAR file?
A. /classes
B. /index.html
C. /MANIFEST-INF
D. /WEB-INF/web.xml
E. /WEB-INF/classes
F. /WEB-INF/index.html
G. /META-INF/index.xml.

I thought answer would be D.but was given as E.
Please help.


As per the specs you do NOT need a WEB-INF folder at all. Check this link point no. 12.

sravanthi pulukuri wrote:
Which three are described in the standard web application deployment descriptor? (Choose three.)
A. session configuration
B. MIME type mappings
C. context root for the application
D. servlet instance pool configuration
E. web container default port bindings
F. ServletContext initialization parameters.

answer was given as A,B,F

Please help.


What is the confusion here. The options C, D and E are apparently not correct.
 
sravanthi pulukuri
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
Thanks for the quick Reply.
so you mean there no need for WEB-INF directory at all???.

regarding the secodn question is F correct answer are ServletContext initialization parameters in standard web application DD??
Correct me.
 
Harvinder Thakur
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes using <context-param> element you can...
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Apart from that, I'd like to know why this thread is titled "EL Function Doubt" ?
 
sravanthi pulukuri
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Sorry it was a mistake.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic