Tomcat 3.3 ExperShop release notes

This document gives an example of a Tomcat 3.3 configuration for ExperShop:
It requires a basic knowledge of the Tomcat configuration process - including what Tomcat is, what the organization of a servlet application looks like (and particularly the directory tree involved in a .war file) and where these elements should be.

The main tasks involved in a Tomcat configuration are:

What to put in webapps/expershop/WEB-INF/web.xml

Note: the following example uses unix-style paths. On Windows, the right path to put in the "init-param" tag could be (note the duplicate \ characters):
 c:\\ExperSHOP\\EShopWin.cfg
Sample web.xml file content:

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">

<web-app>
    <servlet>
        <servlet-name>
            com.expershop.lite.ExperSHOP
        </servlet-name>
        <servlet-class>
            com.expershop.lite.ExperSHOP
        </servlet-class>
        <init-param>
          <param-name>SHOPCONFIG</param-name>
          <param-value>/usr/local/ExperSHOP/EShop.cfg</param-value>
        </init-param>
	<load-on-startup>
            1
	</load-on-startup>
    </servlet>
</web-app>

Contact the ExperSHOP servlets

 http://yourhost:8080/servlet/com.expershop.lite.ExperSHOP
 http://yourhost:8080/servlet/com.expershop.lite.ESAdminServlet