F4ded opened a new pull request #484:
URL: https://github.com/apache/tomcat/pull/484


   Bug fix: after a jsp file is accessed, modify the jsp file to make it have a 
syntax error, when you accessing the jsp file again, the response will report a 
synatx error for the first time, but if it is accessed again within 4s(tomcat 
default config modificationTestInterval), you will get the reponse of the jsp 
file before modification.
   
   if a jsp file have a syntax error, its JspServletWrapper will carry a 
compileException which will be throw in jspCompiler.compile(), making 
theServlet can not reload. if you access the jsp file modified, tomcat will 
reset the lastModificationTest to the current system time. within 4s, tomcat 
will judge the jsp file with syntax errors as not outdated, then the request 
will be handled by the old jsp file's theServlet.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to