开发者

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 ?


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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜