Bug 45337

Summary: The tomcat dosen't know which file is new or old
Product: Tomcat 6 Reporter: liubing <loveyou2210058>
Component: ExamplesAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED INVALID    
Severity: normal Keywords: XSLTBug
Priority: P2    
Version: unspecified   
Target Milestone: default   
Hardware: PC   
OS: Linux   

Description liubing 2008-07-03 22:31:13 UTC
I am very sorry.I can write a little English, so you would found some grammer's errors in my report.
I find that the tomcat judged which file is new or old by file size.
I think it isn't wrong. You can find error that is spelling error in your JSP some times.
The file's size dosen't hava change when you revises this error,so tomcat think the file was not changed.Such as A to B.
If the tomcat would judged which file is new or old by file date, I think this programe can be soluted.
Comment 1 Mark Thomas 2008-07-04 09:34:49 UTC
Please take a look at org.apache.jasper.compiler.Compiler line 350 onwards.

The only criteria used to determine if a file is old is timestamp.

If you are having problems with JSPs not re-compiling, please use the users@tomcat.apache.org mailing list to help you.