tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Tomcat writing the wrong timestamp on compiled JSP's
Date Fri, 14 Aug 2009 14:42:52 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mon,

On 8/14/2009 1:18 AM, Mon Cab wrote:
> import java.util.*;
> public class DateTest {
>   public static void main(String[] args) {
>     System.out.println("Date = " + new Date());
>     System.out.println("Calendar = " + Calendar.getInstance());
>   }
> }

How about:

OutputStream out = new FileOutputStream("test.txt");
out.write("foobarbaz");
out.flush();
out.close();

Do you get a weird timestamp?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqFd+sACgkQ9CaO5/Lv0PBsXACcD6HeLZx6FvfOco21Vj6t92KM
IpgAn13IdgdOdLEGGqjzuI1bpw6wSgDN
=+MTH
-----END PGP SIGNATURE-----

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


Mime
View raw message