This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman 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 Building Microservices this week in the Design 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlet Load Order
 
It's not a secret anymore!