struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aleksandr Mashchenko <>
Subject I18nInterceptor session creation
Date Thu, 03 Jan 2019 20:33:10 GMT

Can someone shed some light on why I18nInterceptor no longer creates 
session in SessionLocaleHandler#store method? [1] [2]

What was wrong with previous behavior?

After all, it is `Storage.SESSION` storage which should operate on 
session. If someone doesn't want to use session then `Storage.NONE` can 
be used.

Currently we are facing issue when first request comes with 
`request_locale` parameter, it changes locale but doesn't store it to 
session because session is not yet created, hence second request w/o 
`request_locale` will use default locale.




To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message