Hey! I am assuming you are using the HttpServletRequest.getHeaderNames() and HttpServletRequest.getHeader().
There is sample code 'all around' for accessing header stuff if you don't know how. Why do you need this information? Typically anything that you get from the client is unreliable and sometimes not even available. It's better to get the time from the server. Sans adieu, Danny Sans adieu, Jackie Niu wrote: > I have a problem on how to get the date&time from the > HTTP Request: > It seems that there is not always "date" entry in the > HTTP request header. > How can I get the date&time of the client from the > HTTP Request? > > Thanks > > Jackie > > ===== > Sincerely Yours,Jackie > > _________________________________________________________ > Do You Yahoo!? ��¼����Ż�����! http://mail.yahoo.com.cn > > <font color=#6666FF>���ģ����ƣ����ˣ�û���ɣ���������ɣ�</font>���� > �Ż�ȫ��������! http://cn.chat.yahoo.com/c/roomlist.html > > ___________________________________________________________________________ > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
