in reply to print last file updated into directory

depending on how your infrastructure is set up, doing this in Java may be more advantageous, since you're running Tomcat and (I assume) code with it already...
  • Comment on Re: print last file updated into directory