myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ioannis Deligiannis <ideligian...@velti.com>
Subject [ Myfaces ] Newbie question..
Date Wed, 23 Sep 2009 11:35:43 GMT
Hi,

This should be a quite trivial question but I have run out of search:google ideas.

My application is not deployed in the root context. So any references of the type:
/faces/blah will go to <root>/faces/blah instead of <root>/<myapp>/faces/blah

I did manage to find a workaround by using: #{facesContext.externalContext.request.contextPath}

But surely there must be an easier way..

Thanks

Ioannis Deligiannis| Senior Application Engineer

Velti
Mob: +30.6948.593.623 | Tel: +30.210.637.8800 (ext: 6730) | Fax: +30.210.637.8888
Email: ideligiannis@velti.com<mailto:ideligiannis@velti.com> | Web: www.velti.com<http://www.velti.com/>
Velti is a global leader in mobile marketing and advertising solutions for mobile operators,
ad agencies, brands, and media groups.

London | New York | San Francisco | Boston | Athens | Sofia | Nicosia | Paris | Munich | Moscow
| Mumbai | Dubai | Beijing


Mime
View raw message