You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2017/04/03 18:26:02 UTC
struts-examples git commit: Defines default action definitions
Repository: struts-examples
Updated Branches:
refs/heads/master a7db35bbd -> 4b3878d73
Defines default action definitions
Project: http://git-wip-us.apache.org/repos/asf/struts-examples/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts-examples/commit/4b3878d7
Tree: http://git-wip-us.apache.org/repos/asf/struts-examples/tree/4b3878d7
Diff: http://git-wip-us.apache.org/repos/asf/struts-examples/diff/4b3878d7
Branch: refs/heads/master
Commit: 4b3878d73879880f3dd35b9556ea74e161868c8b
Parents: a7db35b
Author: Lukasz Lenart <lu...@gmail.com>
Authored: Mon Apr 3 20:25:38 2017 +0200
Committer: Lukasz Lenart <lu...@gmail.com>
Committed: Mon Apr 3 20:25:38 2017 +0200
----------------------------------------------------------------------
form-tags/src/main/resources/struts.xml | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/struts-examples/blob/4b3878d7/form-tags/src/main/resources/struts.xml
----------------------------------------------------------------------
diff --git a/form-tags/src/main/resources/struts.xml b/form-tags/src/main/resources/struts.xml
index 618b29e..8e27b0d 100644
--- a/form-tags/src/main/resources/struts.xml
+++ b/form-tags/src/main/resources/struts.xml
@@ -9,6 +9,8 @@
<package name="basicstruts2" extends="struts-default">
+ <default-action-ref name="index" />
+
<!-- If no class attribute is specified the framework will assume success and
render the result index.jsp -->
<!-- If no name value for the result node is specified the success value is the default -->