mirror of
https://github.com/apache/struts.git
synced 2026-08-06 07:06:58 +00:00
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:
@@ -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>
|
||||
Reference in New Issue
Block a user