Originally posted by William Brogden:
How about this - use Javascript or cookies or user database or something to tag the user's request with the timezone and write your own directory listing code.
Writing directory listing code is not hard and gives you the opportunity of applying your own security rules to control what the user sees, insertion of href links for downloading, etc etc.
Bill
Thanks for your reply, Bill. Unfortunately, I'm not sure my bosses would be willing for me to spend that much time fixing an app that we're only using in-house.
I'd be willing to live with forcing EST if that's easier to accomplish, since most of our users are in the EST timezone.
On that front, I saw several other places where people were suggesting adding
java options to the catalina.bat (or .sh) file. My installation of 5.5.23 didn't have any such files, but I do have them from an installation 5.5.20 so could probably make use of that. However, Tomcat is running as a Windows service in my environment and those files look like they're never actually called -- instead, it calls tomcat5.exe directly.
I found a catalina.properties file in the bootstrap.jar which apparently does get called when tomcat starts up, but I don't see anything in there which allows me to set any java_options.
I suspect my bosses would prefer that I give up on fixing the bug rather than rewrite all the directory listing code, just because of time concerns.
Does that help provide any leads? Thanks again for your help.
Chris