Re: get the Locale from Action[S2]

2008-03-05 Thread Dave Newton
--- Adam Gordon <[EMAIL PROTECTED]> wrote: > That's what I figured, so how does it determine the user's locale? The dispatcher gets it from the request and puts it in the context map. Dave > aj2r wrote: > > Return the locale of the user's browser. > > Adam Gordon wrote: > >> dumb question, but d

Re: get the Locale from Action[S2]

2008-03-05 Thread Adam Gordon
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 det

Re: get the Locale from Action[S2]

2008-03-05 Thread aj2r
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: >> slidehar

Re: get the Locale from Action[S2]

2008-03-04 Thread Adam Gordon
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 f

Re: get the Locale from Action[S2]

2008-03-03 Thread aj2r
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() -- View this message in context: h