Header+Logo
Applied Informatics C++ Libraries and Tools

Applied Informatics Open Service Platform Web Server Extension Sample

This sample shows how a bundle can extend the OSP Web Server with static web pages, stored in the bundle.

The bundle providing this web page does not contain any code. All that is required to add static web pages to the web server is to provide an extensions.xml file in the bundle, containing an osp.web.server.directory extension point:

<extensions>
    <extension point="osp.web.server.directory" path="/sample" resource="html" allowSpecialization="none"/>
</extensions>

Also, the necessary HTML, image and style sheet files must be stored in the bundle.