<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd" >
<struts-config>
    <form-beans>
        <form-bean name="addForm" type="org.apache.struts.action.DynaActionForm">
            <form-property name="f1" type="java.lang.Integer"/>
            <form-property name="f2" type="java.lang.String"/>
        </form-bean>
    </form-beans>
    <action-mappings>
        <action path="/show" type="struts.ShowAction">
            <forward name="show.ok" path="/display.jsp"/>
        </action>
        <action path="/add" type="struts.AddAction" name="addForm" input="/display.jsp">
            <forward name="add.ok" path="/show.do" redirect="true"/>
        </action>
        <action path="/del" type="struts.DelAction">
            <forward name="del.ok" path="/show.do" redirect="true"/>
        </action>
        <action path="/showx" type="struts.ShowXAction">
            <forward name="showx.ok" path="/displayx.jsp"/>
        </action>
        <action path="/addx" type="struts.AddXAction" name="addForm" input="/displayx.jsp">
            <forward name="addx.ok" path="/showx.do" redirect="true"/>
        </action>
        <action path="/delx" type="struts.DelXAction">
            <forward name="delx.ok" path="/showx.do" redirect="true"/>
        </action>
    </action-mappings>
</struts-config>
