1 如果没有为action指定class,默认是ActionSupport
2 如果没有为action指定method,默认执行action中的execute()方法
3 如果没有指定result的name属性,默认值为success
1 如果没有为action指定class,默认是ActionSupport
2 如果没有为action指定method,默认执行action中的execute()方法
3 如果没有指定result的name属性,默认值为success
在struts.xml中配置对action配置<?xml version="1.0" encoding="UTF-8
action
1、Action配置的各项默认值(1)、如果没有为action指定class,默认是ActionSupport。(2)、如果没有为action指定method,默认执行action中的execute()方法。(3)、如果没有为action指定result,默认值为success。 2、result配置的各种试图转发类型<result type="">...</result
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M