Hello,
I would like to set up the following architecture:
-Several domain names i.e.
www.mydomain.fr and
www.mydomain.com pointing to one web app in
tomcat possibly with <alias> config in tomcat.
My question is what is the best way to be aware of whether a request comes from a domain or another
from within the jsf code?
I found a way using externalContext.getRequestContextPath() but it means I have to
test this at every request or store it in the session which is not very good.
Any better design anyone?
Thanks in advance,
J.