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
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
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Web Component Certification (OCEJWCD)
order of loading in web.xml
S Sravs
Ranch Hand
Posts: 85
posted 15 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 15 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 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
thanks
actullay i was confused with servlet load-on-startup
I've been selected to go to the moon! All thanks to this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
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...