The responsive web build from the kony visualizer is having the context root as "/apps/<app-id>" instead of the "/app-id"

This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.

#[Informational Post]​

-->Basically when you do the visualizer build for a webapplication by selecting the responsive web build option under "product-->build", you can see the web client binary getting transferred as a .zip archive to the fabric under the "manage client app assets" section of your mobile fabric application. When you publish the fabric app the default context root of the web application is like "/apps/<app-id>".. The context "/apps" is nothing but the apps.war provided by konyfabric and this war will take the responsibility to pick the zip file artifacts and provide to the client browser.

-->If you want a direct .war archive instead of .zip archive there is an option in the visualizer under the file(GenerateEAR) to do the .war build. If you do this .war build, you will get a WAR file in the workspace "wap" folder with the name as App Id. So by default the context root will be set to war name. If you change the war name to ROOT.war then the default context root will be the root context i.e the forward slash '/'. So open the web.xml file in your war and check for the tag <context-root> and set its value as per your requirement. Later upload this war file to mobile fabric app "manage client app assets" section and publish the fabric app.

Thank you @Connow Cvmpxell​ for sharing this helpful information. 🤝