Hi,

In my servlet I want to send date of last modification and when I 
refresh the browser to get back this date.
In response I try to send the date and in request to get this date.
Unfortunately in response I get -1

Please look for following code:

response.setDateHeader("Last-Modified", createRss.getTimestamp_long());
request.getDateHeader("Last-Modified");
long lastModifiedRequest =  request.getDateHeader("Last-Modified");
System.out.println("Last modification has been done on  " + 
lastModifiedRequest);

Can somebody help
Regards,

Rafal


-- 
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

Reply via email to