Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


What is the servletcontext listener and what is
JspContext and page context pls tell in simple words.



What is the servletcontext listener and what is JspContext and page context pls tell in simple wo..

Answer / sreekumar

ServletContextListener is an interface which contains two
methods to be implemented namely contextInitialized and
contextDestroyed which will be called when context is
initialized and destroyed respectively. Both the methods
accepts ServletContextEvent as argument

PageContext is an implicit object which encapsulates other
implicit objects. ie. using pagecontext reference we can get
references to all other implicit objects and attributes from
all scopes

JspContext serves as the base class for the PageContext class

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More Java J2EE AllOther Interview Questions

Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?

0 Answers   Cap Gemini,


How to implement or use the singleton class in java?

3 Answers  


can u draw class/object diagram for ATM

0 Answers   HCL, Zycus Infotech,


what is the diffrence between insurance and telecom domain?

1 Answers  


what are callback methods?

3 Answers   iFlex,






What is iterator in the java collections framework? : java collections

0 Answers  


what are advantages of HQL? what are advantages of Native SQL? what are advantages of Criteria API?

1 Answers   TCS,


what is acl(access control list)?

1 Answers   Athena, HCL,


What is the Spring2.5 MVC Navigation flow?

1 Answers   IBM,


What is Visual Source Safe(source control Tool)?

1 Answers  


Which of the following declaration is wrong? int i=45; float j = 45.0; double k=45.0;

5 Answers   Adobe,


What are the main classes of the list interfaces? : java collections

0 Answers  






Categories