WW-1349 Move new Tutorial code into Showcase

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@438945 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ted Nathan Husted
2006-08-31 14:56:24 +00:00
parent f40e13a076
commit 4eb6a212a1
4 changed files with 34 additions and 3 deletions
@@ -1,4 +1,4 @@
package tutorial;
package org.apache.struts2.showcase.tutorial;
import com.opensymphony.xwork2.ActionSupport;
@@ -1,4 +1,4 @@
package tutorial;
package org.apache.struts2.showcase.tutorial;
import com.opensymphony.xwork2.ActionSupport;
import org.apache.struts2.interceptor.ParameterAware;
@@ -1,4 +1,4 @@
package tutorial;
package org.apache.struts2.showcase.tutorial;
import com.opensymphony.xwork2.Action;
@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
<include file="struts-default.xml"/>
<package name="tutorial-hello" extends="struts-default" namespace="/tutorial">
<action name="HelloWorld" class="org.apache.struts2.showcase.tutorial.HelloWorld">
<result name="success">HelloWorld.jsp</result>
</action>
</package>
<package name="tutorial-actions" extends="struts-default" namespace="/tutorial">
<action name="HelloName" class="org.apache.struts2.showcase.tutorial.HelloName">
<result name="success">HelloName-success.jsp</result>
<result name="error">HelloName-error.html</result>
</action>
<action name="HelloName2" class="org.apache.struts2.showcase.tutorial.HelloName2">
<result name="success">HelloName2-success.jsp</result>
<result name="error">HelloName-error.html</result>
</action>
</package>
</struts>