Strange behaviour of facesContext.getExternalContext().getRequestContextPath()
Category xpages domino
Bookmark :
I have build a webbased Digital Image Gallery and there I use 'facesContext.getExternalContext().getRequestContextPath()' to collect the databasepath, '/saas/xdig.nsf But when I load the Xpage in the Client I see a strange behaviour. My databasepath is modified in the follow syntax, '/xsp/Paddington R8!!saas\xdig.nsf' (Paddington R8 = servername). Can someone explain how I can fix the database path in my xpage, so it will work in web and client.
Bookmark :
I have build a webbased Digital Image Gallery and there I use 'facesContext.getExternalContext().getRequestContextPath()' to collect the databasepath, '/saas/xdig.nsf But when I load the Xpage in the Client I see a strange behaviour. My databasepath is modified in the follow syntax, '/xsp/Paddington R8!!saas\xdig.nsf' (Paddington R8 = servername). Can someone explain how I can fix the database path in my xpage, so it will work in web and client.
- 


Comments
session.getCurrentDatabase().getFilePath()
Posted by mark t hughes At 23:30:05 On 12-10-2009 | - Website - |