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 |
what is difference between web server and application server?
what debugging tool that can be used to debug the java programs?
What is the difference between comparable and comparator in java.util pkg?
Which of the following declaration is wrong? int i=45; float j = 45.0; double k=45.0;
Why do you use Context Object
What is markup language?
What are the queues in the java collection framework? : java collections
What are the considerations to be made in case of loops in java ?
What is java collection? : java collections
waht are architecture of web application?
What is an Ioc pattern? There are assemblies in .net for establishing this task, Whats the special in Java /j2ee technologies about IOC
What are the types of the main implementing classes in the map interfaces? : java collections