permaculture playing cards*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Order of Loading Servlets, Context Listeners, Tag classes and Filters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Order of Loading Servlets, Context Listeners, Tag classes and Filters" Watch "Order of Loading Servlets, Context Listeners, Tag classes and Filters" New topic
Author

Order of Loading Servlets, Context Listeners, Tag classes and Filters

Chithra Salam
Greenhorn

Joined: Mar 21, 2006
Posts: 19
Hi,

This Q may not be there in exam objectives,but was eager to know how container actually loads the instance.

What's the order in which below objects are loaded.

1)Context Listener
2)ServletContext
3)Filter
4)Servlet
5)Tag class
6)ServletConfig.

I have written the objects on the order which I feel that container will load.


Please provide the inputs.

Thanks,
Chithra Salam
SCJP-85%,SCWCD-in progress.
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

i guess(not sure)

1)ServletContext
2)Context Listener
3)Filter
4)Servlet
5)ServletConfig
6)Tag class

i arrange the order . correct me if i am wrong
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Order of Loading Servlets, Context Listeners, Tag classes and Filters