struts2中action中的name和method意思
action中的name是当你测试action是要在浏览器地址栏中输入的你要测试的action标记
如<action name="student" ....>
</action>
action所在项目名是school,所有数据库是oracle
你在浏览器中要写http://3306/hostlocal:8080/school/student
而method方法是你的student的action中写的方法
默认是public String ececute(){
return "succ
转载
2021-04-14 17:38:41 ·
656 阅读 ·
0 评论