Customizing the Web application configuration

To customize the configuration of your WebSphere Commerce instance, edit the WebSphere Commerce Struts custom configuration files, struts-config-ext.xml, which are included in each of the WebSphere Commerce Web modules. Confining customization to these files, in place of struts-config.xml, will ensure that your customizations are not overwritten during subsequent migration, fix pack installation, and other similar activities.

About this task

The initial struts-config-ext.xml files supplied with WebSphere Commerce have no Struts resources defined and are templates ready to be populated. For example:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts-config PUBLIC 
          "-//Apache Software Foundation//DTD Struts Configuration


       <!-- Data Sources -->

       <!-- Form Beans -->
       <!-- Global Exceptions -->
       <!-- Global Forwards -->
       <!-- Action Mappings -->
Note: All configuration elements that you define in the struts-config-ext.xml files will supersede those defined in the primary Struts configuration files, struts-config.xml.