struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hus...@apache.org
Subject svn commit: r438945 - in /struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/tutorial: HelloName.java HelloName2.java HelloWorld.java struts-tutorial.xml
Date Thu, 31 Aug 2006 14:56:24 GMT
Author: husted
Date: Thu Aug 31 07:56:24 2006
New Revision: 438945

URL: http://svn.apache.org/viewvc?rev=438945&view=rev
Log:
WW-1349 Move new Tutorial code into Showcase

Added:
    struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/tutorial/struts-tutorial.xml
      - copied, changed from r438881, struts/sandbox/trunk/mailreader-course/struts2/tutorial/src/java/struts.xml
Modified:
    struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/tutorial/HelloName.java
    struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/tutorial/HelloName2.java
    struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/tutorial/HelloWorld.java

Modified: struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/tutorial/HelloName.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/tutorial/HelloName.java?rev=438945&r1=438944&r2=438945&view=diff
==============================================================================
--- struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/tutorial/HelloName.java
(original)
+++ struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/tutorial/HelloName.java
Thu Aug 31 07:56:24 2006
@@ -1,4 +1,4 @@
-package tutorial;
+package org.apache.struts2.showcase.tutorial;
 
 import com.opensymphony.xwork2.ActionSupport;
 

Modified: struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/tutorial/HelloName2.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/tutorial/HelloName2.java?rev=438945&r1=438944&r2=438945&view=diff
==============================================================================
--- struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/tutorial/HelloName2.java
(original)
+++ struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/tutorial/HelloName2.java
Thu Aug 31 07:56:24 2006
@@ -1,4 +1,4 @@
-package tutorial;
+package org.apache.struts2.showcase.tutorial;
 
 import com.opensymphony.xwork2.ActionSupport;
 import org.apache.struts2.interceptor.ParameterAware;

Modified: struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/tutorial/HelloWorld.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/tutorial/HelloWorld.java?rev=438945&r1=438944&r2=438945&view=diff
==============================================================================
--- struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/tutorial/HelloWorld.java
(original)
+++ struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/tutorial/HelloWorld.java
Thu Aug 31 07:56:24 2006
@@ -1,4 +1,4 @@
-package tutorial;
+package org.apache.struts2.showcase.tutorial;
 
 import com.opensymphony.xwork2.Action;
 

Copied: struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/tutorial/struts-tutorial.xml
(from r438881, struts/sandbox/trunk/mailreader-course/struts2/tutorial/src/java/struts.xml)
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/tutorial/struts-tutorial.xml?p2=struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/tutorial/struts-tutorial.xml&p1=struts/sandbox/trunk/mailreader-course/struts2/tutorial/src/java/struts.xml&r1=438881&r2=438945&rev=438945&view=diff
==============================================================================
--- struts/sandbox/trunk/mailreader-course/struts2/tutorial/src/java/struts.xml (original)
+++ struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/tutorial/struts-tutorial.xml
Thu Aug 31 07:56:24 2006
@@ -6,22 +6,22 @@
 <struts>
     <include file="struts-default.xml"/>
 
-    <package name="hello" extends="struts-default">
+    <package name="tutorial-hello" extends="struts-default" namespace="/tutorial">
 
-        <action name="HelloWorld" class="tutorial.HelloWorld">
+        <action name="HelloWorld" class="org.apache.struts2.showcase.tutorial.HelloWorld">
             <result name="success">HelloWorld.jsp</result>
         </action>
 
     </package>
 
-    <package name="actions" extends="struts-default">
+    <package name="tutorial-actions" extends="struts-default" namespace="/tutorial">
 
-        <action name="HelloName" class="tutorial.HelloName">
+        <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="tutorial.HelloName2">
+        <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>



Mime
View raw message