All the request information is contained in the ExternalContext which can be accessed as: FacesContext.getCurrentInstance().getExternalContext();
It contains methods such as getRequestContextPath.
From: Georg Füchsle <email@example.com>
Sent: Mon 13-07-2009 11:36
To: MyFaces Discussion <firstname.lastname@example.org>;
Subject: getting information about caller-url
when starting my application I have to distinguish between the
different sites from where the user can call the application.
Theese urls are outside application.
Can somebody give me a hint how i can read the url from where the
user is calling?