# Struts 2 的 简单的action配置

**URL:** <https://www.isharkfly.com/t/struts-2-action/2002>\
**Category:** 程序语言\
**Created:** [May 14, 2015, 12:08am UTC](https://www.isharkfly.com/t/struts-2-action/2002 "2015-05-14T00:08:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![honeymoose](https://www.isharkfly.com/user_avatar/www.isharkfly.com/honeymoose/32/20796_2.png) [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Post date:** [May 14, 2015, 12:08am UTC](https://www.isharkfly.com/t/struts-2-action/2002/1 "2015-05-14T00:08:58Z")

</div>

`<action name="logon" class="tutorial.Logon">
  <result type="redirect-action">Menu</result>
  <result name="input">/tutorial/Logon.jsp</result>
</action>`

前台发送调用logon.action的请求，截听器调用默认的execute()方法
