[opencms-dev] set last modified of a file
Arno Illmann, e-Commerce Team SO
AIllmann at Actebis.com
Tue Apr 27 10:38:00 CEST 2004
Hi,
how can I set the last modified of a file? I tried:
com.opencms.flex.jsp.CmsJspActionElement cms = new
com.opencms.flex.jsp.CmsJspActionElement(pageContext, request, response);
com.opencms.file.CmsResource res =
cms.getCmsObject().readFile("/dir/dir/file.html");
res.setDateLastModified(System.currentTimeMillis());
- No error, but the lastmodified was not changed. Any help would be really
appreciated.
Thanks in Advance, Arno
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040427/009092dc/attachment.htm>
More information about the opencms-dev
mailing list