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: [email protected]<mailto:[email protected]> | 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