This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic