Hello people, Is there a smart way to include a "Last Updated" entry in a jsp? Something like finding when current file was last modified, perhaps? Tom.
There are 2 "last updated" time values, since technically you could consider a page compilation as an update, and depending on the options of your server, this could be much more recent than the source mod. Your best best is probably to either use a smart editor or (and/or) a version control system. Most vcs's have some sort of ability to macro-expand certain variables such as the checkin timestamp.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
This works.. (But as Tim mentioned, it picks up the last compilation time, and not the source file timestamp -- but this will be the case for the taglibs as well). ------------------ Miftah Khan - Sun Certified Programmer for the Java� 2 Platform - Sun Certified Web Component Developer for the Java� 2 Platform, Enterprise Edition