This content has been marked as final.
Show 2 replies
-
1. Timestamp of files
didi1976 Dec 17, 2002 4:57 AM (in response to didi1976)I have made some further tests. It looks like it generates a date near the start of JBoss and does not use the information contained within the WAR.
It can be reproduced by writing a small java app which does the following:
URL url = new URL("http://127.0.0.1:8080/yourapp/yourFile.html");
URLConnection con = url.openConnection();
System.out.println(con.getContentLength());
System.out.println(con.getLastModified());
A closer look at the modification date shows that it is not the date from the WAR. If you restart JBoss and execute the app again, you get a new modification date. -
2. Re: Timestamp of files
didi1976 Dec 30, 2002 2:52 AM (in response to didi1976)The solution to my problem was to switch to Tomcat.
Jetty produces the (for my opinion) wrong result. Is this behaviour desired?