VirtualViewer HTML5 for Java is delivered with virtualviewer/ as the default directory.

If you would like to change this directory, you need to change the pointers in the files below to reflect that change.

For example, let’s suppose we want to change the directory from virtualviewer/ to a directory called displaytools/.

First, in config.js, we would change:

servletPath: "/virtualviewer/AjaxServlet"

to:

servletPath: "/displaytools/AjaxServlet"

In web.xml (located in the WEB-INF sub-directory), we would change:

<init-param>
<param-name>codebase</param-name>
<param-value>http://localhost:8080/virtualviewer</param-value>
</init-param>

to:

<init-param>
<param-name>codebase</param-name>
<param-value>http://localhost:8080/displaytools</param-value>
</init-param>