Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Chithra Salam
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic