Can anyone look into this please?
--
Samuel Santos
On Tue, May 13, 2008 at 11:25 PM, Samuel Santos <[EMAIL PROTECTED]> wrote:
> My application uses pt_PT as the default locale and en_US as an
> alternative.
>
> Lets say the application's logged user has choose en_US in his profile and
> the user machine has pt_PT as the default locale (that means that the VM
> default locale is pt_PT).
>
> Now the problem, imagine the following scenario:
> I stay long enough in a page of my application so my session expires.
> I press F5 to reload the page, this redirects me to the login page (JAAS).
> When forwarded to the page I'd requested the locale has changed to the
> default locale (pt_PT).
> So I reload my page on more time (F5), and magic, the application returns
> to en_US.
>
> It seems that the forward caused by the authentication is not routed
> through the Stripes filter (not passing through my LocalePicker).
> How can this annoying behavior be fixed?
>
> I am using JBoss 4.2.2 and Java 6.
>
> My Stripes filter mapping:
>
> <filter-mapping>
> <filter-name>StripesSecurityFilter</filter-name>
> <url-pattern>*.jsp</url-pattern>
> <dispatcher>REQUEST</dispatcher>
> <dispatcher>INCLUDE</dispatcher>
> </filter-mapping>
>
> <filter-mapping>
> <filter-name>StripesSecurityFilter</filter-name>
> <servlet-name>StripesDispatcher</servlet-name>
> <dispatcher>REQUEST</dispatcher>
> <dispatcher>FORWARD</dispatcher>
> </filter-mapping>
>
>
> --
> Samuel Santos
> http://www.samaxes.com/
--
Samuel Santos
http://www.samaxes.com/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users