struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Gordon <adam.gor...@readytalk.com>
Subject Re: get the Locale from Action[S2]
Date Wed, 05 Mar 2008 21:32:58 GMT
That's what I figured, so how does it determine the user's locale?

aj2r wrote:
> Return the locale of the user's browser.
>
> Adam Gordon wrote:
>   
>> dumb question, but does that return the locale of the user or the locale 
>> of the server on which the web app is running?  if the former, how does 
>> it determine the user's locale?  thanks.
>>
>> --adam
>>
>> aj2r wrote:
>>     
>>> slideharmony wrote:
>>>   
>>>       
>>>> Hello,
>>>> anybody knows how can I get the client machine's Locale from my action
>>>> struts 2?
>>>> any help would be apprecciated.
>>>> Riccardo
>>>>
>>>>     
>>>>         
>>> Your action must extend com.opensymphony.xwork2.ActionSupport and then
>>> you
>>> can use getLocale()
>>>   
>>>       
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>>
>>     
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message