*
The moose likes JSP and the fly likes TIMESTAMP on jsp page and jsp compiled servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "TIMESTAMP on jsp page and jsp compiled servlet" Watch "TIMESTAMP on jsp page and jsp compiled servlet" New topic
Author

TIMESTAMP on jsp page and jsp compiled servlet

thomas davis
Ranch Hand

Joined: Feb 01, 2003
Posts: 207
TIMESTAMP on jsp page and jsp compiled servlet
How does jsp engine know that jsp got changed and it is to be again compiled or it is the recent one?
Kalyan Ayyagari
Greenhorn

Joined: Aug 04, 2003
Posts: 5
Your subject line pretty much says the answer. The container checks the timestamp of the jsp page and that of the generated servlet. If the timestamp of jsp page is more recent than the generated servlet, it will recompile the jsp page.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: TIMESTAMP on jsp page and jsp compiled servlet