Bug 45337 - The tomcat dosen't know which file is new or old
Summary: The tomcat dosen't know which file is new or old
Status: RESOLVED INVALID
Alias: None
Product: Tomcat 6
Classification: Unclassified
Component: Examples (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: default
Assignee: Tomcat Developers Mailing List
URL:
Keywords: XSLTBug
Depends on:
Blocks:
 
Reported: 2008-07-03 22:31 UTC by liubing
Modified: 2008-07-04 09:34 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.