动态方法调用和使用通配符定义action
http://127.0.0.1:8080/struct2341/test/helloworld!add.action //这样就会执行add这个方法了
//2 使用通配符*,{1}就是第一个星号
<action name="hello_*" class="cn.itcast.action.HelloWorldAction" method="{1}" >
//然后可以这样访问 http://127.0.0.1:8080/struct2341/test/hello_add.action