<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC
    "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
    "http://struts.apache.org/dtds/struts-2.0.dtd">

<struts>

   <constant name="struts.devMode" value="true" />
   <constant name="struts.enable.DynamicMethodInvocation" value="false" />

   
   <package name="wildcardmethodexample" extends="struts-default">

        <!-- Whatever value is before Person for the name of
        the action will be the name of the method to call in 
        class PersonAction.  For example action createPerson 
        will call a method named create in class PersonAction -->
        
		<action name="*Person" class="org.apache.struts.tutorials.wildcardmethod.action.PersonAction" method="{1}">
			<result name="success">view.jsp</result>
			<result name="input">input.jsp</result>
		</action>
		
   </package>

</struts>
