On 14/02/2011 05:38, jie tang wrote:
> 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
> following
> 
>    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 catalina.sh
>    -Duser.timezone=GMT+08 \
> 
> So what should I do to get what I need?

You'll need to modify/extend the DefaultServlet to check the user's
Locale and determine the timezone from that.

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to