What is the servletcontext listener and what is
JspContext and page context pls tell in simple words.
Answer Posted / 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 View All Answers
What do you understand by synchronization? Why is it important?
What are the types of java collections? : java collections
How do I find jre path in windows?
What are the uses of the set interfaces in the java collections? : java collections
What are the considerations to be made in case of loops in java ?
Hi Friends , am newbie to ajax. For example just consider one account registration - A form contains 8 text fields with submit button. In this form second texbox contains "username " . On right side of text box there is a label box . On clilck action i need to determine user is available or not. Is it possible on clicking label or should i click submit button.
my interviewer asked me what technical specification you used how to answer that question
What are the different types of ways where you can iterate over a list? : java collections
How is hashset maintained in memory by java ?
What are the classes in the java collection framework? : java collections
HOW MUCH PERCENTAGE WE DEDUCT FOR OUR SUPPLIERS OR OTHER PROFESSIONALS
what is mean by hasing and maping in java platform and advantage?
Which sorting algorithm is used by collections.sort() in java ?
Which java collection class can be used to maintain the entries in the order in which they were last accessed?
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