I am new to Tomcat. I was referring this document which states that
The JasperListener enables the Jasper JSP engine, and is responsible for re-compiling the JSP pages that have been updated.
So then it means that if I disable JasperListener
then JSP pages should fail to compile and not load or should get HTTP 5xx
status code from Tomcat. So I disabled it:
<!-- <Listener className="org.apache.catalina.core.JasperListener" /> -->
But even after disabling it I am able to run JSP pages without any issues.
So what is the use of JasperListener
? And also could you guys tell me what Listeners generally mean and how they are used?