• Post Reply Bookmark Topic Watch Topic
  • New Topic

How container knows the jsp updates

 
Ashwin Pimpale
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Please tell me the answer to this question,
The jsp source & class files are created just once for the first request of the jsp. Now if we update the jsp file, the updates are seen imediately for the next request even if we dont redeploy. so How does the container know the jsp is updated?

with Regards,
Ashwin Pimpale
 
Ajith George
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Container keep on checking the date stamp of the jsp file. It will keep on checking whether the date stamp is same with the already loaded jsp. If not it will reload the same. Thats it
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!