Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within OCPJWCD
Search Coderanch
Advance search
Google search
Register / Login
Win a copy of
OCP Oracle Certified Professional Java SE 21 Developer Study Guide: Exam 1Z0-830
this week in the
Programmer Certification
forum!
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
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
Liutauras Vilda
Jeanne Boyarsky
paul wheaton
Sheriffs:
Ron McLeod
Devaka Cooray
Henry Wong
Saloon Keepers:
Tim Holloway
Stephan van Hulst
Carey Brown
Tim Moores
Mikalai Zaikin
Bartenders:
Frits Walraven
Forum:
Web Component Certification (OCEJWCD)
order of loading in web.xml
S Sravs
Ranch Hand
Posts: 85
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
1.listeners
2.servlets load on starup
3.then listener events
4. filters
is the order correct
Regards
Sravanthi
John Stone
Ranch Hand
Posts: 332
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
from
servlet
spec 2.4
SRV.9.12 Web Application Deployment When a web application is deployed into a container, the following steps must be performed, in this order, before the web application begins processing client requests. � Instantiate an instance of each event listener identified by a <listener> element in the deployment descriptor. � For instantiated listener instances that implement ServletContextListener, call the contextInitialized() method. � Instantiate an instance of each filter identified by a <filter> element in the deployment descriptor and call each filter instance�s init() method. � Instantiate an instance of each servlet identified by a <servlet> element that includes a <load-on-startup> element in the order defined by the load-onstartup element values, and call each servlet instance�s init() method.
so in your case, it should be:
1, 3, 4, 2
S Sravs
Ranch Hand
Posts: 85
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
thanks
actullay i was confused with servlet load-on-startup
I am going down to the lab. Do NOT let anyone in. Not even this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Can anybody answer this question?
Order of Loading Servlets, Context Listeners, Tag classes and Filters
Question
HttpServletRequest confusing methods
What's order in web container for starting up?
More...