In Java, you don't have access to the request except in the JSP or
Servlet classes.  Other, deeper, logic classes, don't have access to
the request unless it's passed to them (which would get messy very
quickly).  What do other Java programmers do for this?

On Dec 15, 4:48 am, Niklas Rosencrantz <[email protected]> wrote:
>
> Then my logic is basically just checking the host for the domain
>
>             host = self.request.host
>             if host.find('.br') > 0:
>               i18n.get_i18n().set_locale('pt-br')
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to