Previous Next Up FAQ Table of Contents

7.1.3 Web-Based Configuration

The VolanoChat applet configuration servlet allows you to modify the client applet property files through a form on a Web page. The servlet presents the applet's Java properties by matching their names against a Web page template. By default, the English VolanoChat applet properties are contained in the file english.txt, and the default template is the file template.html.

The template file uses brief XML notation using the names of the applet properties to specify where to place the corresponding applet property values. When you invoke the configuration servlet through a link like the following (all on one line):

http://www.yourdomain.com:8080/servlet/config?
  template=template.html&properties=english.txt

the configuration servlet combines the template.html file with the property values found in english.txt. For example, where the HTML template specifies <server.port/>, the configuration servlet would look up the value of the server.port property in the english.txt file and place the value 8000.

To enable the use of the configuration servlet, you must first define an administrator password by setting the VolanoChat server admin.password property in the server's properties.txt file. You will be prompted for a name and password when you invoke the applet configuration servlet. You can use any name, but the password must match the server's admin.password value. This password makes sure that only those with the password may update the applet's configuration files.

To set up Web-based configuration of the VolanoChat applet, you can modify the sample file called config.html found in the vcclient directory of your VolanoChat server installation.

For more information see:

  [6.0] Servlets

Previous Next Up FAQ XHTML 1.0 Table of Contents

2014-07-11 — An updated version of the VOLANO chat server that supports the latest Java 8 Plug-in is now available. More…

The VOLANO® chat software for the Java™ platform lets you build on-line communities and add real-time social networking to your Web site. More…

John Neffenger <john@status6.com>
More…

A PROJECT OF STATUS:6®