What is the servletcontext listener and what is
JspContext and page context pls tell in simple words.
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 |
Which sorting algorithm is used by collections.sort() in java ?
What is the difference between comparable and comparator in java.util pkg?
Which interface does java.util.hashtable implement?
Difference b/w >> and >>> ?
whats the relation ship between LDAP and JNDI?
What are the types of interface used in the java collections? : java collections
What are the interfaces in java collections? : java collections
Difference between Spring framework and Struts framework?
12 Answers IBM, L&T, VAM,
waht are architecture of web application?
what is class/object diagram
what is jndi?
What are the uses of the set interfaces in the java collections? : java collections