{"id":1715,"date":"2016-09-22T06:05:42","date_gmt":"2016-09-22T06:05:42","guid":{"rendered":"http:\/\/codethataint.com\/blog\/?p=1715"},"modified":"2016-09-22T09:33:02","modified_gmt":"2016-09-22T09:33:02","slug":"what-is-event-listener-servlet","status":"publish","type":"post","link":"https:\/\/codethataint.com\/blog\/what-is-event-listener-servlet\/","title":{"rendered":"What is Event Listener Servlet"},"content":{"rendered":"<p><strong>What is Event<\/strong><br \/>\nChanging the state of an object is known as an event.We can perform some important tasks at the occurrence of these exceptions, such as counting total and current logged-in users, creating tables of the database at time of deploying the project, creating database connection object etc.<\/p>\n<p><strong>Event Types<\/strong><\/p>\n<ol>\n<li>ServletRequestEvent &#8211; ServletRequestListener<\/li>\n<li>ServletContextEvent &#8211; ServletContextListener<\/li>\n<li>ServletRequestAttributeEvent &#8211; ServletRequestAttributeEvent<\/li>\n<li>ServletContextAttributeEvent &#8211; ServletContextAttributeListener<\/li>\n<li>HttpSessionEvent &#8211; HttpSessionListener<\/li>\n<li>HttpSessionBindingEvent &#8211; HttpSessionAttributeListener<\/li>\n<\/ol>\n<p><strong>Listener Types<\/strong>    <\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is Event Changing the state of an object is known as an event.We can perform some important tasks at the occurrence of these exceptions, such as counting total and current logged-in users, creating tables of the database at time of deploying the project, creating database connection object etc. Event Types ServletRequestEvent &#8211; ServletRequestListener ServletContextEvent&hellip; <a href=\"https:\/\/codethataint.com\/blog\/what-is-event-listener-servlet\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-1715","post","type-post","status-publish","format-standard","hentry","category-servlets"],"_links":{"self":[{"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/posts\/1715","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/comments?post=1715"}],"version-history":[{"count":1,"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/posts\/1715\/revisions"}],"predecessor-version":[{"id":1716,"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/posts\/1715\/revisions\/1716"}],"wp:attachment":[{"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/media?parent=1715"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/categories?post=1715"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/tags?post=1715"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}