开发者

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

开发者 https://www.devze.com 2023-02-04 00:30 出处:网络
I am trying to use Exadel Fiji for rendering Pie graphs. Can someone tell 开发者_运维技巧me what does the el #{facesContext.externalContext.requestContextPath} mean ?It returns you path to your proje

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

Can someone tell 开发者_运维技巧me what does the el #{facesContext.externalContext.requestContextPath} mean ?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消