jQuery in Action, 2nd edition*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Remembering web.xml elements & servlet elements. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Remembering web.xml elements & servlet elements." Watch "Remembering web.xml elements & servlet elements." New topic

Remembering web.xml elements & servlet elements.


Joined: May 20, 2002
Posts: 4
For Web.xml element order( ignore punctuations)
I Dare Devil Drive. Cop Finds Follows. Listen Siren Stop. Sees My Window. E.T, Road Runner,Shrek? Laughs. Says, Entertainment Entities Etc.
  • I =<icon>
  • Dare =<display-name>
  • Devil =<description>
  • Drive=<distributable>
  • Cop=<context-param>
  • Finds=<filter>
  • Follows=<filter-mapping>
  • Listen=<listener>
  • Siren=<servlet>
  • Stop=<servlet-mapping>
  • Sees=<session-config>
  • My=<mime-mapping>
  • Window=<welcome-file-list>
  • E=<error-page>
  • T=<taglib>
  • Road=<resource-env-ref>
  • Runner=<resource-ref>
  • Shrek=<security-constrainst>
  • Laughs=<login-config>
  • Says=<security-role>
  • Entertainment=<env-entry>
  • Entities=<ejb-ref>
  • Etc=<ejb-local-ref>

  • Remember there are 23 words = 23 elements. The word listen and <listener> aligns.
    For Servlet Element order
    I See Daffy Duck Sleeping In Lawn Rarely Sunday.
  • I=<icon>
  • See=<servlet-name>
  • Daffy=<display-name>
  • Duck=<description>
  • Sleeping=<servlet-class /jsp-file>
  • In=<init-param>
  • Lawn=<load-on-startup>
  • Rarely=<run-as>
  • Sunday=<security-role-ref>

  • No. of elements are 9.
    No element name is in plural. Which means, for example, their is no <servlets> element.
    So to declare multiple servlets, there must be multiple <servlet> elements.
    I passed today SCWCD exam with a score of 79%
    Thanks for the input from the forum. It helped me.
    [ May 20, 2002: Message edited by: Pals Nagaraj ]
    [ May 20, 2002: Message edited by: Pals Nagaraj ]
    [ May 20, 2002: Message edited by: Pals Nagaraj ]
    Brian Glodde
    Ranch Hand

    Joined: Jun 27, 2001
    Posts: 171
    Thanks Pals, I am up tomorrow at 10:30 EST. Wish me luck
    Jeff Allen

    Joined: Feb 09, 2002
    Posts: 20
    Congrats Pals!
    And thanks for the mnemonic tips (I love those things).

    Joined: May 20, 2002
    Posts: 4
    Thanks Jeff.
    I agree. Here's the link: http://aspose.com/file-tools
    subject: Remembering web.xml elements & servlet elements.
    Similar Threads
    Order of elements in the DD- web.xml file
    deployment descriptor question
    error-page declaration in web.xml
    web.xml issue
    WA #1.....word association