PlayFramework application, footer.html file:
%{
file = new File("footer.html");
path = file.getCanonicalPath();
lm = file.lastModified();
}%
<span> Last update: ${lm} </span>
Here I have the correct path , so footer.html exists.
But lm is 0, i.e. it's the 1970s .. but now is 2011.
Question: why? Could this be related to a security manager or something related to security?
source
share