Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

getLastModified(..)

 
Dave Wingate
Ranch Hand
Posts: 262
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was wondering if someone could please help me understand the intended use of the getLastModified(..) method in HttpServlet as it relates to caching.

How does the value returned by getLastModified(..) inform HTTP caching if my servlet should or should not be delivered from cache?
 
Dave Wingate
Ranch Hand
Posts: 262
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Should have googled more thoroughly before I posted:

http://www.coderanch.com/t/166396/java-Web-Component-SCWCD/certification/HttpServlet-getLastModified

mea culpa mea culpa
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic