Re: Most recent timestamp value of files in folder in UNIX

2005-12-15 Thread David Rickard
You can retrieve the timestamp via File.lastModified(): pass that to a Date object to get a human-readable value: new java.util.Date( new java.io.File("/path/to/file").lastModified())) Output that in a scriptlet to see it on the page (there may be tags to handle the file lookup and d

Most recent timestamp value of files in folder in UNIX

2005-12-15 Thread Saha Rabindra N
Hi All, Can anyone give me some idea about following :: I have two source code folders in Unix for a tomcat webapps. I need to pick up the most recent timestamp of the files out of those two folders. I need the most recent timestamp value in form of Date which will be shown in a web page as La