• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Order of elements in Deployment descriptor

 
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Is there some specific ordering of elements that need to be maintained within web.xml document.
 
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From the post detailing my thoughts on the exam...
- Memorize all the major elements of the <web-app> element. I counted 11 of them and used the following phrase to remember them:
"Can Larry Show Steve Some Ways Everyone Talks Slowly, Living Slowly"?
The letters correspond to elements and their ordering in the <web-app> element:
<context-param>
<listener>
<servlet>
<servlet-mapping>
<session-config>
<welcome-file-list>
<error-page>
<taglib>
<security-constraint>
<login-config>
<security-role>
Before the exam even started, I wrote them all down, including all of their possible subelements. Then, all you have to do is refer to the paper when taking the test.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic