Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General 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
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic