View URL in Xpages in the Client

I’m busy with a highly configurable FAQ database build with XPages.The custom styling of the website is based on a Notes document, who is containing the styles.

I’m using relative url’s like,

href=“/css/e-office.css”

When I load the application in the Client then my styling is broken.

In the source I see a weird URL for my stylesheet.

href="/xsp/Paddington%20R8!!bb/faq.nsf/xsp/css/e-office.css?SessionID=ID12-147ef17222171000

There is in the url een extra ‘xsp’ before the /css/e-office.css

How can I avoid this, because I think this is the cause that my stylesheet is not properly loaded in the client.

Subject: This url differs in each client

The URL for a XPages App in the Notes Client (XPiNC) differs to each client. It uses the same secure port that’s used for the help.So maybe the solution here is to find another way in XPages compute which style class to use. Have you thought about computing the styleSheet?

Regards,

Paul.