Hi all,

 

My best guess is that this is happening before Struts gets involved, but
I wondered if anyone might have some suggestions or places for me to
look. I'm having some strange i18n behavior on our initial login page.

 

Our app is still using Struts 1.1 (don't ask..). We're using form-based
authentication through WebLogic, set up pretty much plain vanilla from
what I can tell (from the web.xml):

 

      <login-config>

         <auth-method>FORM</auth-method>

         <form-login-config>

            <form-login-page>/login.jsp</form-login-page>

            <form-error-page>/login_error.jsp</form-error-page>

         </form-login-config>

      </login-config>

 

User gets redirected to the login page, it appears, before the Struts
actions are called at all, because I can't seem to find anyplace to put
a breakpoint in my debugger. 

 

The problem is that when I have more than one locale defined in my
browser preferences (either in IE or FF), it doesn't take the default
first choice (which is en_us) but one of the others instead. I don't
have the same problem on other internationalized web sites, so I presume
it's a problem in my code or configuration or something, but I'm not
sure where to start looking. Oh, by the way, once the user logs in,
there are user preferences for locale which kick in, but those obviously
don't apply to this page because there's no user in the session as of
yet, so it has to be getting the locale from the browser preferences.

 

Any ideas, anyone? Thanks!

 

Chris Loschen

 

 

Reply via email to