I first want to know if there is a built-in way of getting a subdomain from a url using pure servlets?
And then if spring has any helpers?
So my urls would be like:
jonskeet.stackoverflow.com
Where JonSkeet is the subdomain.
I will create a filter that will load a object based on the subdomain value.
BTW, when creating a filter, is there a way to order the filters to make sure they all fire in a specific order?