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

httt method

2 Answers   HCL,


Should we create system software ( e.g operating system ) in java ?

0 Answers  


which book is the best for preparing for SCWCD 1.5

4 Answers   Google,


What is the use of hashcode in java ?

0 Answers  


What is the use of log4j and how to make use of that in a application?

2 Answers  






Write a interface "CarOperations" with the following methods void turnOnEngin() void turnOffEngin() void turnOnLigths() void turnOffLights() void turnLeft() void turnRight() void accelerate() void deaccelerate() void putBreaks() void releaseBreaks()

1 Answers  


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

0 Answers   Cap Gemini,


What is difference between Application Server and Web Server?

1 Answers   Logica CMG, SCS,


what is jndi?

2 Answers  


i need java 1+ experience resume on java developer kindly send me my mail id:srikanthreddy1.marla@gmail.com

1 Answers  


What are the different types of features of the java collections framework? : java collections

0 Answers  


what debugging tool that can be used to debug the java programs?

1 Answers   Inforica,


Categories