action中的name是当你测试action是要在浏览器地址栏中输入的你要测试的action标记
如<action name="student" ....>
</action>
action所在项目名是school,所有数据库是oracle
你在浏览器中要写http://3306/hostlocal:8080/school/student
而method方法是你的student的action中写的方法
默认是public String ececute(){
return "success";
}
然而你要写方法method=“form”,相应的student的action中就要写方法为
public String from(){
return "success";
}
method 对应的是要执行调取的方法名
name 对应的是前台调用的方法名