Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

TIMESTAMP on jsp page and jsp compiled servlet

 
thomas davis
Ranch Hand
Posts: 207
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic