Anand Sunderraman
Anand Sunderraman

Reputation: 8138

What does the el #{facesContext.externalContext.requestContextPath} mean?

I am trying to use Exadel Fiji for rendering Pie graphs.

Can someone tell me what does the el #{facesContext.externalContext.requestContextPath} mean ?

Upvotes: 1

Views: 9779

Answers (1)

sergionni
sergionni

Reputation: 13510

It returns you path to your project in webapps directory.

For instance, if your project name is myProj,that it will return /myProj

As I see,it's needed to avoid hardcoding of your web-project name. For instance, you .war file(archive,that contains your project) may be named different ways and you shouldn't know what exactly name it will be extracted under webapps.

Upvotes: 10

Related Questions