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

What are the queues in the java collection framework? : java collections

0 Answers  


What is Visual Source Safe(source control Tool)?

1 Answers  


What is the Spring2.5 MVC Navigation flow?

1 Answers   IBM,


Is it Mandatory to map each pojo class variable with table column in Hibernate? Is there any alternative to skip some of those? Thanks in advance...

2 Answers   Span Systems,


Hi frnds how to lock an user when he enter wrong credentials more than 3 time using java or j2ee tech take username and password in a bean no need to connect DB and validate give me some sample application code or links its urgent for me thanks in advance

0 Answers   NSN,






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

1 Answers   IBM,


can u draw class/object diagram for ATM

0 Answers   HCL, Zycus Infotech,


what is acl(access control list)?

1 Answers   Athena, HCL,


what is jndi?

2 Answers  


What is IOC in spring?

10 Answers   Centris,


Which interface does java.util.hashtable implement?

0 Answers  


Which server-side script takes the input from JavaScript, can access the database if it needs to, and processes the data.

0 Answers  


Categories