Hey!

In the JSDK documentation you will see request.getDateHeader(String name).
Try "Last-Modified" or "If-Modified-Since".

Please, always look at the docs.

Sans adieu,
Steven Lau wrote:

> I'm trying to use request.getHeader("Date") to get the time when the request is made 
>for the servlet but it always returns a null.  Can anyone show me what's the proper 
>way of getting the servlet request time?
>
> Thanks!!
>
> ___________________________________________________________________________
> 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

Reply via email to