tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jie tang <>
Subject How to show the timestamp of listed file according to the user timezone?
Date Mon, 14 Feb 2011 05:38:05 GMT
I place a directory in Tomcat webapps directory. I want to Tomcat list files
under the directory.
When I browse the file list in my browser, the file list looks like the

   2011-02-12_r5384_1669/       Sat, 12 Feb 2011 09:40:44 GMT

But what I need is
   2011-02-12_r5384_1669/       Sat, 12 Feb 2011 17:40:44 GMT + 08

When I type the command "date",it shows
   Mon Feb 14 13:33:45 CST 2011
And I added the following statement to
   -Duser.timezone=GMT+08 \

So what should I do to get what I need?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message