Re: [java ee programming] Message from ActMQ

2011-02-07 Thread Rafał Laczek
Hi, Yes. Now it works. But I have the other small problem. 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

[java ee programming] Problem with request.getDateHeader

2011-02-07 Thread Rafał Laczek
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,

Re: [java ee programming] Message from ActMQ

2011-02-07 Thread Rafał Laczek
Hi, The result of createRss.getTimestamp_long() is date in long format of last modification of my feed in RSS. This is the date when new message has been registered. I try to display 303 error when there is no changes. Please have a look for my present code. I know that there is here something

Re: [java ee programming] Message from ActMQ

2011-02-07 Thread bambang passion
hi, sorry i dont understand what you want, may be you could elaborate more? by the way, what is the result of createRss.getTimestamp_long() ? also check what are the required attributes for response.setDateHeader() ? b.l 2011/2/7 Rafał Laczek rafal_lac...@wp.pl Hi, Yes. Now it works. But

Re: [java ee programming] Message from ActMQ

2011-02-07 Thread bambang passion
hi, pls. check on http error 303 or 304. it is occurred at client side and 304 means : not modified, it is just a message. do check thoroughly the possible outputs for your getDateHeader, i think the output will be an http message not DATE. b.l 2011/2/7 Rafał Laczek rafal_lac...@wp.pl Hi,