Struts1:
<action path="/control/employee/addUI" forward="/WEB-INF/page/employeeAdd.jsp"/>

Struts2:
<action name="addUI">
    <result>/WEB-INF/page/employeeAdd.jsp</result>
</action>

Action配置中的各项默认值
1.如果没有为action指定class,默认是ActionSupport.
2.如果没有为action指定method,默认执行action中的execute()方法。
3.如果没有指定result的name属性,默认值为success.

相关文章:

  • 2022-12-23
  • 2021-09-01
  • 2021-11-11
  • 2022-12-23
  • 2021-10-12
  • 2021-04-14
  • 2021-10-22
  • 2022-01-27
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-23
  • 2022-12-23
  • 2021-10-28
  • 2021-10-30
  • 2022-12-23
相关资源
相似解决方案