Home
Configuring the WebappConfiguring the Webapp
To configure the webapp use the following command:
> ant init-webapp

This will configure the webapp directory ready for use with a Servlet Container (such as Tomcat).

Once executed the ant command will output a chunk of xml such as:
<Host name="localhost"
      appBase="[DIRECTORY_WHERE_POLLIWOG_IS_INSTALLED]/polliwog-0.7/webapp"
      xmlValidation="false"
      xmlNamespaceAware="false">
  <Context path="/polliwog"
           docBase=""
           debug="0"
           reloadable="false"
           cookies="true" />
</Host>
Where [DIRECTORY_WHERE_POLLIWOG_IS_INSTALLED] will be replaced by the directory where polliwog is installed.

The xml chunk above is suitable for the External site, opens in new window Tomcat Servlet Container.