From 8d209daa762ecbe394b986ea38a4e3fddc94c276 Mon Sep 17 00:00:00 2001 From: Lukasz Lenart Date: Fri, 31 May 2013 06:30:45 +0000 Subject: [PATCH] WW-4085 Adds default-action-ref to configuration of example apps git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1488108 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/resources/example.xml | 37 ++++++++++--------- .../src/main/resources/struts.xml | 29 +++++++++++---- .../src/main/resources/struts.xml | 28 ++++++++------ 3 files changed, 58 insertions(+), 36 deletions(-) diff --git a/archetypes/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/resources/example.xml b/archetypes/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/resources/example.xml index 77753819d..442f5eee3 100644 --- a/archetypes/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/resources/example.xml +++ b/archetypes/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/resources/example.xml @@ -1,27 +1,30 @@ + "-//Apache Software Foundation//DTD Struts Configuration 2.3//EN" + "http://struts.apache.org/dtds/struts-2.3.dtd"> - - - /example/HelloWorld.jsp - + - - /example/Login.jsp - Menu - + - - /example/{1}.jsp - - - - - + + /example/HelloWorld.jsp + + + + /example/Login.jsp + Menu + + + + /example/{1}.jsp + + + + + diff --git a/archetypes/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/resources/struts.xml b/archetypes/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/resources/struts.xml index 20bea68d6..5e9703845 100644 --- a/archetypes/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/resources/struts.xml +++ b/archetypes/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/resources/struts.xml @@ -1,12 +1,25 @@ + "-//Apache Software Foundation//DTD Struts Configuration 2.3//EN" + "http://struts.apache.org/dtds/struts-2.3.dtd"> - - - - - - + + + + + + + + + + + + HelloWorld + /example + + + + + + diff --git a/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/resources/struts.xml b/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/resources/struts.xml index 45dc73bf8..8bcbdb172 100644 --- a/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/resources/struts.xml +++ b/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/resources/struts.xml @@ -1,19 +1,25 @@ + "-//Apache Software Foundation//DTD Struts Configuration 2.3//EN" + "http://struts.apache.org/dtds/struts-2.3.dtd"> - - - /jsp/index.jsp - - - /jsp/index.jsp - /jsp/helloWorld.jsp - - + + + + + + /jsp/index.jsp + + + + /jsp/index.jsp + /jsp/helloWorld.jsp + + + +