This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes Servlet Load Order 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 » Java » Servlets
Bookmark "Servlet Load Order" Watch "Servlet Load Order" New topic
Author

Servlet Load Order

Dumpi Bajj
Greenhorn

Joined: Nov 21, 2004
Posts: 4
Hi all,

I got the following question on Load Order of servlets in my practice test for 286. Can someone let me know the answer for it? (A brief explanation would be great)

Is there any order of precedence in case of load orders ranging from negative values to positive values?

Where can I get good documentation about load orders? I would like to know about it in a detailed manner.

Please help me..

___________________________________________________________________________
A developer is attempting to enter Load Orders of 2, 4, and 6 for three
servlets using the web.xml editor. What might prevent the developer
from accomplishing this task?
A. The servlet classes could not be found.
B. The Load-On-Startup checkbox was not selected.
C. The web.xml file is marked read-only.
D. The numbering for the load orders is incorrect.
___________________________________________________________________________

TIA
Dumpi
Nathaniel Stoddard
Ranch Hand

Joined: May 29, 2003
Posts: 1258
The servlet specification is pretty much the most authoritative source on the subject. I'd check it out. I don't think negative numbers are treated differently from 0 though. Check it out. I may be wrong.


Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
 
 
subject: Servlet Load Order
 
Similar Threads
Multiple url-pattern in servlet
What's order in web container for starting up?
Multiple Server Mappings (Spring)
ibm websphere test 157 for websphere studio application developer 4.0.3 for windows
Question from 286 practice test -- Load Order of Servlets