> java.lang.IllegalArgumentException: Date format invalid: Friday, 06-Nov-98
> 05:38:50 GMT; length=2068
>         at sun.servlet.http.HttpDate.parse( Compiled Code )
>
> This happens when I try to get the date header via
> HttpServletRequest.getDateHeader( "If-Modified-Since" ).  This problem
> just started occurring after installation of the 'patch'.

> Has anyone else run into this problem?  If so, how can I resolve it without
> reverting to the older 2.0 jsdk?

Hmmm.. The patch changed the way that the date headers are parsed (using
the underlying SimpleDateFormat methods so that this class no longer has
the ability to fall out of Y2K compliance) -- and evidently in a way
that is much stricter and which fails in this case because the
if-last-mod header is a superset of a date header...

Note that this behavior will be in the final version of JSDK 2.1 that is
now released. :(

.duncan

___________________________________________________________________________
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