Hi!I have an XPage called “sniffer.xsp” in a database “myapp/mydb.nsf”.
Currently the only way I can call that XPage from a browser is to use the following URL:
http://servername/myapp/mydb.nsf/sniffer.xsp
However, I would like to call it this way instead (adding the “something/” before the XPage name):
http://servername/myapp/mydb.nsf/something/sniffer.xsp
I can not create an XPage with a ‘/’ (slash) in it, so I have tried to put the following into both WEB-INF/faces-config.xml and WEB-INF/web.xml (in the database) to see if that solved anything:
<servlet>
<servlet-name>Sniffer</servlet-name>
<servlet-class>xsp.Sniffer</servlet-class>
<load-on-startup>0</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Sniffer</servlet-name>
<url-pattern>/something/*</url-pattern>
</servlet-mapping>
Does anyone know if something like the above is possible? I know it is possible in a servlet container outside Domino, but I’m not sure if this is possible.
PS. I know of substitution rules etc., but I don’t want to go down that road!