Hi, Can you please details what kind of servlet you are using ? Several week ago I got the same problem with the JServ 1.0b3 engine integrated into an Apache Web Server 1.3.4 on Windows NT. Problem was the use of an inapropriate Locale during date to string evaluation. As you can see in your sample, your date is not HTTP compliant because the month is not translated into an *english* string. You may bypass this limitation by changing the default Locale used by your servlet : // $$$ WARNING : JServ limitation System.out.println( "*** warning : Set default locale to US" ); Locale.setDefault( Locale.US ); Hope this may help you correct this error on non-US java environment. Nicolas Germain Akazi Technologies - France >Hi, > >I'm using the Cookie class to create cookies, and this is what the expires >field looks like, when sent to the client: > >expires=So, 30-Mai-1999 11705:46 GMT > >This isn't standard, is it? And, note the interesting time. I'm using Java >1.1.7 on Linux, in Germany - my time zone should be GMT+1. > >I'm using the Servlet API 2.0, I believe. Anybody know what's up here? > >Thanks, >Robb ___________________________________________________________________________ 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
