Tomcat 3.3, 4.x, 5.x ExperShop release notes

This document gives an example of a Tomcat 3.3 configuration for ExperShop (also applicable to Tomcat 4.x and 5.x):
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.

Web Application install (.war packaging)

If it works, you're done with the install.

Classical install (No .war packaging)

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