It is part of the servlet spec:

javax.servlet.ServletRequest.getServerName()


2010/3/3 deuce4 <[email protected]>

> Hi, I would like to use the subdomains of my appspot.com domain to set
> initial user parameters.
> I'm not really sure how to do this in Java.  Google provides the
> Python example self.request.headers["Host"].
>
> Can anyone help with the Java code to parsing and processing
> subdomains in the appspot.com url?
>
> thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" 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-java?hl=en.

Reply via email to