<?xml version="1.0" encoding="ISO-8859-1" ?>
<!--
Taken from Core Servlets and JavaServer Pages Volume II
from Prentice Hall and Sun Microsystems Press,
http://volume2.coreservlets.com/.
(C) 2007 Marty Hall, Larry Brown, and Yaakov Chaikin;
may be freely used or adapted.
-->
<!DOCTYPE struts-config PUBLIC
  "-//Apache Software Foundation//DTD Struts Configuration 1.3//EN"
  "http://struts.apache.org/dtds/struts-config_1_3.dtd">
<struts-config>
  <action-mappings>
    <action path="/register1"
            type="coreservlets.RegisterAction1">
      <forward name="success"
               path="/WEB-INF/results/confirm-registration.jsp"/>
    </action>
    <action path="/register2"
            type="coreservlets.RegisterAction2">
      <forward name="bad-address"
               path="/WEB-INF/results/bad-address.jsp"/>
      <forward name="bad-password"
               path="/WEB-INF/results/bad-password.jsp"/>
      <forward name="success"
               path="/WEB-INF/results/confirm-registration.jsp"/>
    </action>
  </action-mappings>
</struts-config>
