Changeset 2968
- Timestamp:
- 07/08/07 15:43:19 (5 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/main/java/org/sarugo/xtc/restlet/TemplateRepresentation.java
r2942 r2968 20 20 import java.io.OutputStream; 21 21 import java.io.OutputStreamWriter; 22 import java.util.Date; 22 23 23 24 import javax.el.ValueExpression; … … 43 44 this.template = template; 44 45 context = template.createContext(); 46 // We always expire because the content is dynamic 47 setModificationDate(new Date()); 48 setExpirationDate(getModificationDate()); 45 49 } 46 50
