Could this have been achieved by

prop.setProperty ("user.language", "en");
prop.setProperty ("user.region", "US");

in <servletclass>.init()
as well?

Roar :)

-----Opprinnelig melding-----
Fra: Thierry Gu�rin [mailto:[EMAIL PROTECTED]]
Sendt: Wednesday, July 04, 2001 12:07 PM
Til: JRun-Talk
Emne: RE: bug in cookies in JRun 3.0 & 3.1


This works perfectly, thanks!

BTW, I am in french locale setting, so the bug is not limited to the german
locale setting.

Thierry

> -----Message d'origine-----
> De : Michael Alten [mailto:[EMAIL PROTECTED]]
> Envoy� : mardi 26 juin 2001 12:32
> � : JRun-Talk
> Objet : Re: bug in cookies in JRun 3.0 & 3.1
>
>
> Michael Alten schrieb:
> >
> > Hi Thierry,
> > this seems to me as a bug in Jrun - Allaire resp. now Macromedia shows a
> > general weakness in  testing their products with other than us-locale
> > settings (remember the SP2 Bug!)
> >
> > I attached a bug fix which was send to me by Michael Ponewass
> >
> > Greetings,
> > Michael
> >
>
> Second try, now with an inline-text-attachment ;-)
>
> =====================================================================> Betreff: WG: 
>Cookie persistance
> Datum:   Fri, 2 Mar 2001 07:46:51 +0100
> Von:     Michael Ponewass <[EMAIL PROTECTED]>
> Firma:   Landwirtschaftsverlag GmbH
> An:      "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>
>
> >I have a problem with cookie persistance on JRun 2.3.3 R157 and JRun 3.0
> > SP2: Persistant cookies did not get saved for expire dates set with
> > setMaxAge(). As Florian Lindauer reports in
> > http://forums.allaire.com/JRunconf/Index.cfm?Message_ID=670944, it seems
> > to be a problem with the german locale settings.
> > Are there any workarounds to get persistant cookies with JRun 2.3.3 R157
> > (or perhaps R158)?
>
> Hello,
>
> i am working with a german nt box. In every jsp i overwrite the jspInit
> method to set
> the Locale to US. With these setting cookie persistence.
>
>
> <%!
> /*****************************************************************
> ***********
> *jspInit Methode &uuml;berschreiben und Datumsformat setzen
> *
> *
> *
> *
> ******************************************************************
> ***********/
> public void jspInit() {
>       //Wichtig fuer die Cookie-Speicherung
>       java.util.Locale.setDefault(java.util.Locale.US);
>         }
>  %>
>
>
> Hope, this helps.
>
>
> Michael .
>
>
> Michael Ponewass
> Internet Entwicklung und Systembetrieb
>
> Landwirtschaftsverlag GmbH
> Informationsdienste
> Huelsebrockstr. 2
> 48165 Muenster
> Telefon: +49 (0) 2501-801295
> Fax:       +49 (0) 2501-801204
> Mobile: 01714681892
>
> E-Mail: [EMAIL PROTECTED]
>             [EMAIL PROTECTED]
>             [EMAIL PROTECTED]
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to