You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by hu...@apache.org on 2006/08/13 01:00:37 UTC

svn commit: r431109 - in /struts/sandbox/trunk/mailreader-course/struts2/retain: ./ src/java/ src/webapp/ src/webapp/WEB-INF/ src/webapp/pages/

Author: husted
Date: Sat Aug 12 16:00:36 2006
New Revision: 431109

URL: http://svn.apache.org/viewvc?rev=431109&view=rev
Log:
Update "retain" lab for Struts 2

Added:
    struts/sandbox/trunk/mailreader-course/struts2/retain/retain.iml
      - copied, changed from r431067, struts/sandbox/trunk/mailreader-course/struts2/retain/lab-1-2.iml
    struts/sandbox/trunk/mailreader-course/struts2/retain/src/java/struts.properties   (contents, props changed)
      - copied, changed from r431067, struts/sandbox/trunk/mailreader-course/struts2/retain/src/java/webwork.properties
    struts/sandbox/trunk/mailreader-course/struts2/retain/src/java/struts.xml   (contents, props changed)
      - copied, changed from r431067, struts/sandbox/trunk/mailreader-course/struts2/retain/src/java/xwork.xml
Removed:
    struts/sandbox/trunk/mailreader-course/struts2/retain/lab-1-2.iml
    struts/sandbox/trunk/mailreader-course/struts2/retain/src/java/webwork.properties
    struts/sandbox/trunk/mailreader-course/struts2/retain/src/java/xwork.xml
Modified:
    struts/sandbox/trunk/mailreader-course/struts2/retain/src/java/Hello.java
    struts/sandbox/trunk/mailreader-course/struts2/retain/src/java/resources.properties
    struts/sandbox/trunk/mailreader-course/struts2/retain/src/webapp/WEB-INF/web.xml
    struts/sandbox/trunk/mailreader-course/struts2/retain/src/webapp/index.html
    struts/sandbox/trunk/mailreader-course/struts2/retain/src/webapp/pages/Hello.jsp
    struts/sandbox/trunk/mailreader-course/struts2/retain/src/webapp/pages/Welcome.jsp

Copied: struts/sandbox/trunk/mailreader-course/struts2/retain/retain.iml (from r431067, struts/sandbox/trunk/mailreader-course/struts2/retain/lab-1-2.iml)
URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/mailreader-course/struts2/retain/retain.iml?p2=struts/sandbox/trunk/mailreader-course/struts2/retain/retain.iml&p1=struts/sandbox/trunk/mailreader-course/struts2/retain/lab-1-2.iml&r1=431067&r2=431109&rev=431109&view=diff
==============================================================================
--- struts/sandbox/trunk/mailreader-course/struts2/retain/lab-1-2.iml (original)
+++ struts/sandbox/trunk/mailreader-course/struts2/retain/retain.iml Sat Aug 12 16:00:36 2006
@@ -2,9 +2,9 @@
 <module version="4" relativePaths="true" type="J2EE_WEB_MODULE" j2ee-integration="Tomcat Server">
   <component name="ModuleRootManager" />
   <component name="NewModuleRootManager">
-    <output url="file://C:/opt/Apache/Tomcat-5.0/webapps/lab-1-2-src/WEB-INF/classes" />
+    <output url="file://C:/opt/Apache/Tomcat-5.5/webapps/retain/WEB-INF/classes" />
     <exclude-output />
-    <exploded url="file://C:/opt/Apache/Tomcat-5.0/webapps/lab-1-2" />
+    <exploded url="file://C:/opt/Apache/Tomcat-5.5/webapps/retain" />
     <exclude-exploded />
     <content url="file://$MODULE_DIR$">
       <sourceFolder url="file://$MODULE_DIR$/src/java" isTestSource="false" />
@@ -15,7 +15,7 @@
     <orderEntry type="module-library">
       <library>
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../lib/oscore.jar!/" />
+          <root url="jar://$APPLICATION_HOME_DIR$/lib/junit.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
@@ -24,7 +24,7 @@
     <orderEntry type="module-library">
       <library>
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../lib/commons-collections-3.1.jar!/" />
+          <root url="jar://$MODULE_DIR$/../lib/xwork-2.0-SNAPSHOT.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
@@ -33,7 +33,7 @@
     <orderEntry type="module-library">
       <library>
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../lib/struts-mailreader-dao-1.3.0-dev.jar!/" />
+          <root url="jar://$MODULE_DIR$/../lib/spring-beans-1.2.6.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
@@ -42,7 +42,7 @@
     <orderEntry type="module-library">
       <library>
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../lib/webwork-2.2.2.jar!/" />
+          <root url="jar://$MODULE_DIR$/../lib/spring-aop-1.2.6.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
@@ -51,7 +51,7 @@
     <orderEntry type="module-library">
       <library>
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../lib/spring-core.jar!/" />
+          <root url="jar://$MODULE_DIR$/../lib/commons-collections-2.1.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
@@ -60,7 +60,7 @@
     <orderEntry type="module-library">
       <library>
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../lib/ognl.jar!/" />
+          <root url="jar://$MODULE_DIR$/../lib/commons-digester-1.6.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
@@ -69,7 +69,7 @@
     <orderEntry type="module-library">
       <library>
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../lib/spring-context.jar!/" />
+          <root url="jar://$MODULE_DIR$/../lib/struts-mailreader-dao-1.3.5-SNAPSHOT.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
@@ -78,7 +78,7 @@
     <orderEntry type="module-library">
       <library>
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../lib/commons-logging-1.0.4.jar!/" />
+          <root url="jar://$MODULE_DIR$/../lib/ognl-2.6.7.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
@@ -87,7 +87,7 @@
     <orderEntry type="module-library">
       <library>
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../lib/freemarker.jar!/" />
+          <root url="jar://$MODULE_DIR$/../lib/freemarker-2.3.4.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
@@ -96,7 +96,7 @@
     <orderEntry type="module-library">
       <library>
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../lib/struts-taglib-1.3.0.jar!/" />
+          <root url="jar://$MODULE_DIR$/../lib/struts2-api-2.0.0-SNAPSHOT.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
@@ -105,7 +105,7 @@
     <orderEntry type="module-library">
       <library>
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../lib/rife-continuations.jar!/" />
+          <root url="jar://$MODULE_DIR$/../lib/commons-logging-1.0.4.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
@@ -114,7 +114,7 @@
     <orderEntry type="module-library">
       <library>
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../lib/commons-digester-1.6.jar!/" />
+          <root url="jar://$MODULE_DIR$/../lib/spring-core-1.2.6.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
@@ -123,7 +123,7 @@
     <orderEntry type="module-library">
       <library>
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../lib/spring-beans.jar!/" />
+          <root url="jar://$MODULE_DIR$/../lib/struts2-core-2.0.0-SNAPSHOT.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
@@ -132,7 +132,7 @@
     <orderEntry type="module-library">
       <library>
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../lib/spring-web.jar!/" />
+          <root url="jar://$MODULE_DIR$/../lib/struts2-extras-2.0.0-SNAPSHOT.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
@@ -141,7 +141,7 @@
     <orderEntry type="module-library">
       <library>
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../lib/xwork-1.1.2.jar!/" />
+          <root url="jar://$MODULE_DIR$/../lib/oscore-2.2.4.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
@@ -150,16 +150,26 @@
     <orderEntry type="module-library">
       <library>
         <CLASSES>
-          <root url="jar://$APPLICATION_HOME_DIR$/lib/junit.jar!/" />
+          <root url="jar://$MODULE_DIR$/../lib/spring-web-1.2.6.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
+    <orderEntry type="module-library">
+      <library>
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../lib/spring-context-1.2.6.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="library" name="Tomcat 5.5" level="application_server_libraries" />
     <orderEntryProperties />
   </component>
   <component name="WebModuleBuildComponent">
-    <setting name="EXPLODED_URL" value="file://C:/opt/Apache/Tomcat-5.0/webapps/lab-1-2" />
+    <setting name="EXPLODED_URL" value="file://C:/opt/Apache/Tomcat-5.5/webapps/retain" />
     <setting name="EXPLODED_ENABLED" value="true" />
     <setting name="JAR_URL" value="file://" />
     <setting name="JAR_ENABLED" value="false" />
@@ -170,83 +180,78 @@
   <component name="WebModuleProperties">
     <containerElement type="library" level="module">
       <attribute name="method" value="1" />
-      <attribute name="URI" value="/WEB-INF/lib/junit.jar" />
-      <url>jar://$APPLICATION_HOME_DIR$/lib/junit.jar!/</url>
-    </containerElement>
-    <containerElement type="library" level="module">
-      <attribute name="method" value="1" />
-      <attribute name="URI" value="/WEB-INF/lib/commons-collections-3.1.jar" />
-      <url>jar://$MODULE_DIR$/../../lib/commons-collections-3.1.jar!/</url>
+      <attribute name="URI" value="/WEB-INF/lib/commons-digester-1.6.jar" />
+      <url>jar://$MODULE_DIR$/../lib/commons-digester-1.6.jar!/</url>
     </containerElement>
     <containerElement type="library" level="module">
       <attribute name="method" value="1" />
-      <attribute name="URI" value="/WEB-INF/lib/commons-digester-1.6.jar" />
-      <url>jar://$MODULE_DIR$/../../lib/commons-digester-1.6.jar!/</url>
+      <attribute name="URI" value="/WEB-INF/lib/commons-logging-1.0.4.jar" />
+      <url>jar://$MODULE_DIR$/../lib/commons-logging-1.0.4.jar!/</url>
     </containerElement>
     <containerElement type="library" level="module">
       <attribute name="method" value="1" />
-      <attribute name="URI" value="/WEB-INF/lib/commons-logging-1.0.4.jar" />
-      <url>jar://$MODULE_DIR$/../../lib/commons-logging-1.0.4.jar!/</url>
+      <attribute name="URI" value="/WEB-INF/lib/freemarker-2.3.4.jar" />
+      <url>jar://$MODULE_DIR$/../lib/freemarker-2.3.4.jar!/</url>
     </containerElement>
     <containerElement type="library" level="module">
       <attribute name="method" value="1" />
-      <attribute name="URI" value="/WEB-INF/lib/freemarker.jar" />
-      <url>jar://$MODULE_DIR$/../../lib/freemarker.jar!/</url>
+      <attribute name="URI" value="/WEB-INF/lib/ognl-2.6.7.jar" />
+      <url>jar://$MODULE_DIR$/../lib/ognl-2.6.7.jar!/</url>
     </containerElement>
     <containerElement type="library" level="module">
       <attribute name="method" value="1" />
-      <attribute name="URI" value="/WEB-INF/lib/ognl.jar" />
-      <url>jar://$MODULE_DIR$/../../lib/ognl.jar!/</url>
+      <attribute name="URI" value="/WEB-INF/lib/oscore-2.2.4.jar" />
+      <url>jar://$MODULE_DIR$/../lib/oscore-2.2.4.jar!/</url>
     </containerElement>
     <containerElement type="library" level="module">
       <attribute name="method" value="1" />
-      <attribute name="URI" value="/WEB-INF/lib/oscore.jar" />
-      <url>jar://$MODULE_DIR$/../../lib/oscore.jar!/</url>
+      <attribute name="URI" value="/WEB-INF/lib/spring-aop-1.2.6.jar" />
+      <url>jar://$MODULE_DIR$/../lib/spring-aop-1.2.6.jar!/</url>
     </containerElement>
     <containerElement type="library" level="module">
       <attribute name="method" value="1" />
-      <attribute name="URI" value="/WEB-INF/lib/rife-continuations.jar" />
-      <url>jar://$MODULE_DIR$/../../lib/rife-continuations.jar!/</url>
+      <attribute name="URI" value="/WEB-INF/lib/spring-beans-1.2.6.jar" />
+      <url>jar://$MODULE_DIR$/../lib/spring-beans-1.2.6.jar!/</url>
     </containerElement>
     <containerElement type="library" level="module">
       <attribute name="method" value="1" />
-      <attribute name="URI" value="/WEB-INF/lib/spring-beans.jar" />
-      <url>jar://$MODULE_DIR$/../../lib/spring-beans.jar!/</url>
+      <attribute name="URI" value="/WEB-INF/lib/spring-context-1.2.6.jar" />
+      <url>jar://$MODULE_DIR$/../lib/spring-context-1.2.6.jar!/</url>
     </containerElement>
     <containerElement type="library" level="module">
       <attribute name="method" value="1" />
-      <attribute name="URI" value="/WEB-INF/lib/spring-context.jar" />
-      <url>jar://$MODULE_DIR$/../../lib/spring-context.jar!/</url>
+      <attribute name="URI" value="/WEB-INF/lib/spring-core-1.2.6.jar" />
+      <url>jar://$MODULE_DIR$/../lib/spring-core-1.2.6.jar!/</url>
     </containerElement>
     <containerElement type="library" level="module">
       <attribute name="method" value="1" />
-      <attribute name="URI" value="/WEB-INF/lib/spring-core.jar" />
-      <url>jar://$MODULE_DIR$/../../lib/spring-core.jar!/</url>
+      <attribute name="URI" value="/WEB-INF/lib/spring-web-1.2.6.jar" />
+      <url>jar://$MODULE_DIR$/../lib/spring-web-1.2.6.jar!/</url>
     </containerElement>
     <containerElement type="library" level="module">
       <attribute name="method" value="1" />
-      <attribute name="URI" value="/WEB-INF/lib/spring-web.jar" />
-      <url>jar://$MODULE_DIR$/../../lib/spring-web.jar!/</url>
+      <attribute name="URI" value="/WEB-INF/lib/struts-mailreader-dao-1.3.5-SNAPSHOT.jar" />
+      <url>jar://$MODULE_DIR$/../lib/struts-mailreader-dao-1.3.5-SNAPSHOT.jar!/</url>
     </containerElement>
     <containerElement type="library" level="module">
       <attribute name="method" value="1" />
-      <attribute name="URI" value="/WEB-INF/lib/struts-mailreader-dao-1.3.0-dev.jar" />
-      <url>jar://$MODULE_DIR$/../../lib/struts-mailreader-dao-1.3.0-dev.jar!/</url>
+      <attribute name="URI" value="/WEB-INF/lib/struts2-api-2.0.0-SNAPSHOT.jar" />
+      <url>jar://$MODULE_DIR$/../lib/struts2-api-2.0.0-SNAPSHOT.jar!/</url>
     </containerElement>
     <containerElement type="library" level="module">
       <attribute name="method" value="1" />
-      <attribute name="URI" value="/WEB-INF/lib/struts-taglib-1.3.0.jar" />
-      <url>jar://$MODULE_DIR$/../../lib/struts-taglib-1.3.0.jar!/</url>
+      <attribute name="URI" value="/WEB-INF/lib/struts2-core-2.0.0-SNAPSHOT.jar" />
+      <url>jar://$MODULE_DIR$/../lib/struts2-core-2.0.0-SNAPSHOT.jar!/</url>
     </containerElement>
     <containerElement type="library" level="module">
       <attribute name="method" value="1" />
-      <attribute name="URI" value="/WEB-INF/lib/webwork-2.2.2.jar" />
-      <url>jar://$MODULE_DIR$/../../lib/webwork-2.2.2.jar!/</url>
+      <attribute name="URI" value="/WEB-INF/lib/struts2-extras-2.0.0-SNAPSHOT.jar" />
+      <url>jar://$MODULE_DIR$/../lib/struts2-extras-2.0.0-SNAPSHOT.jar!/</url>
     </containerElement>
     <containerElement type="library" level="module">
       <attribute name="method" value="1" />
-      <attribute name="URI" value="/WEB-INF/lib/xwork-1.1.2.jar" />
-      <url>jar://$MODULE_DIR$/../../lib/xwork-1.1.2.jar!/</url>
+      <attribute name="URI" value="/WEB-INF/lib/xwork-2.0-SNAPSHOT.jar" />
+      <url>jar://$MODULE_DIR$/../lib/xwork-2.0-SNAPSHOT.jar!/</url>
     </containerElement>
     <deploymentDescriptor name="web.xml" url="file://$MODULE_DIR$/src/webapp/WEB-INF/web.xml" optional="false" version="2.3" />
     <deploymentDescriptor name="" url="file://$MODULE_DIR$/META-INF/context.xml" optional="false">
@@ -254,6 +259,7 @@
       <option name="NAME" value="" />
       <option name="DESCRIPTION" value="" />
     </deploymentDescriptor>
+    <deploymentDescriptor name="context.xml" url="file://$MODULE_DIR$/META-INF/context.xml" optional="false" version="5.x" />
     <webroots>
       <root url="file://$MODULE_DIR$/src/webapp" relative="/" />
       <root url="file://$MODULE_DIR$/src/java" relative="/WEB-INF/src/java" />

Modified: struts/sandbox/trunk/mailreader-course/struts2/retain/src/java/Hello.java
URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/mailreader-course/struts2/retain/src/java/Hello.java?rev=431109&r1=431108&r2=431109&view=diff
==============================================================================
--- struts/sandbox/trunk/mailreader-course/struts2/retain/src/java/Hello.java (original)
+++ struts/sandbox/trunk/mailreader-course/struts2/retain/src/java/Hello.java Sat Aug 12 16:00:36 2006
@@ -1,4 +1,4 @@
-import com.opensymphony.xwork.ActionSupport;
+import com.opensymphony.xwork2.ActionSupport;
 
 /**
  * Example Action class.

Modified: struts/sandbox/trunk/mailreader-course/struts2/retain/src/java/resources.properties
URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/mailreader-course/struts2/retain/src/java/resources.properties?rev=431109&r1=431108&r2=431109&view=diff
==============================================================================
--- struts/sandbox/trunk/mailreader-course/struts2/retain/src/java/resources.properties (original)
+++ struts/sandbox/trunk/mailreader-course/struts2/retain/src/java/resources.properties Sat Aug 12 16:00:36 2006
@@ -1,2 +1,2 @@
-hello.nessage = Congratulations! WebWork is up and running ...
+hello.message = Congratulations! Struts is up and running ...
 # Add your messages here ...

Copied: struts/sandbox/trunk/mailreader-course/struts2/retain/src/java/struts.properties (from r431067, struts/sandbox/trunk/mailreader-course/struts2/retain/src/java/webwork.properties)
URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/mailreader-course/struts2/retain/src/java/struts.properties?p2=struts/sandbox/trunk/mailreader-course/struts2/retain/src/java/struts.properties&p1=struts/sandbox/trunk/mailreader-course/struts2/retain/src/java/webwork.properties&r1=431067&r2=431109&rev=431109&view=diff
==============================================================================
--- struts/sandbox/trunk/mailreader-course/struts2/retain/src/java/webwork.properties (original)
+++ struts/sandbox/trunk/mailreader-course/struts2/retain/src/java/struts.properties Sat Aug 12 16:00:36 2006
@@ -1,4 +1,4 @@
-webwork.objectFactory = spring
-webwork.devMode = true
-webwork.action.extension = do
-webwork.custom.i18n.resources = resources
+struts.objectFactory = spring
+struts.devMode = true
+struts.action.extension = action
+struts.custom.i18n.resources = resources

Propchange: struts/sandbox/trunk/mailreader-course/struts2/retain/src/java/struts.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Copied: struts/sandbox/trunk/mailreader-course/struts2/retain/src/java/struts.xml (from r431067, struts/sandbox/trunk/mailreader-course/struts2/retain/src/java/xwork.xml)
URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/mailreader-course/struts2/retain/src/java/struts.xml?p2=struts/sandbox/trunk/mailreader-course/struts2/retain/src/java/struts.xml&p1=struts/sandbox/trunk/mailreader-course/struts2/retain/src/java/xwork.xml&r1=431067&r2=431109&rev=431109&view=diff
==============================================================================
--- struts/sandbox/trunk/mailreader-course/struts2/retain/src/java/xwork.xml (original)
+++ struts/sandbox/trunk/mailreader-course/struts2/retain/src/java/struts.xml Sat Aug 12 16:00:36 2006
@@ -1,9 +1,12 @@
-<!DOCTYPE xwork PUBLIC "-//OpenSymphony Group//XWork 1.1.1//EN" "http://www.opensymphony.com/xwork/xwork-1.1.1.dtd">
+<?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">
 
-<xwork>
-    <include file="webwork-default.xml"/>
+<struts>
+    <include file="struts-default.xml"/>
 
-    <package name="default" extends="webwork-default">
+    <package name="default" extends="struts-default">
 
         <default-action-ref name="Missing"/>
 
@@ -20,4 +23,4 @@
         </action>
 
     </package>
-</xwork>
+</struts>

Propchange: struts/sandbox/trunk/mailreader-course/struts2/retain/src/java/struts.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: struts/sandbox/trunk/mailreader-course/struts2/retain/src/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/mailreader-course/struts2/retain/src/webapp/WEB-INF/web.xml?rev=431109&r1=431108&r2=431109&view=diff
==============================================================================
--- struts/sandbox/trunk/mailreader-course/struts2/retain/src/webapp/WEB-INF/web.xml (original)
+++ struts/sandbox/trunk/mailreader-course/struts2/retain/src/webapp/WEB-INF/web.xml Sat Aug 12 16:00:36 2006
@@ -2,7 +2,7 @@
 <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
 <web-app>
 
-    <display-name>WebWork Application</display-name>
+    <display-name>Struts 2 Mailreader</display-name>
 
     <context-param>
         <param-name>contextConfigLocation</param-name>
@@ -10,21 +10,24 @@
     </context-param>
 
     <filter>
-        <filter-name>webwork</filter-name>
-        <filter-class>com.opensymphony.webwork.dispatcher.FilterDispatcher</filter-class>
+        <filter-name>Struts2</filter-name>
+        <filter-class>
+            org.apache.struts2.dispatcher.FilterDispatcher
+        </filter-class>
     </filter>
 
     <filter-mapping>
-        <filter-name>webwork</filter-name>
+        <filter-name>Struts2</filter-name>
         <url-pattern>/*</url-pattern>
     </filter-mapping>
 
     <listener>
-        <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
+        <listener-class>
+            org.springframework.web.context.ContextLoaderListener
+        </listener-class>
     </listener>
 
     <welcome-file-list>
-        <welcome-file>index.jsp</welcome-file>
         <welcome-file>index.html</welcome-file>
     </welcome-file-list>
 

Modified: struts/sandbox/trunk/mailreader-course/struts2/retain/src/webapp/index.html
URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/mailreader-course/struts2/retain/src/webapp/index.html?rev=431109&r1=431108&r2=431109&view=diff
==============================================================================
--- struts/sandbox/trunk/mailreader-course/struts2/retain/src/webapp/index.html (original)
+++ struts/sandbox/trunk/mailreader-course/struts2/retain/src/webapp/index.html Sat Aug 12 16:00:36 2006
@@ -1,7 +1,7 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 <html>
 <head>
-    <META HTTP-EQUIV="Refresh" CONTENT="0;URL=Welcome.do">
+    <META HTTP-EQUIV="Refresh" CONTENT="0;URL=Welcome.action">
 </head>
 
 <body>

Modified: struts/sandbox/trunk/mailreader-course/struts2/retain/src/webapp/pages/Hello.jsp
URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/mailreader-course/struts2/retain/src/webapp/pages/Hello.jsp?rev=431109&r1=431108&r2=431109&view=diff
==============================================================================
--- struts/sandbox/trunk/mailreader-course/struts2/retain/src/webapp/pages/Hello.jsp (original)
+++ struts/sandbox/trunk/mailreader-course/struts2/retain/src/webapp/pages/Hello.jsp Sat Aug 12 16:00:36 2006
@@ -1,12 +1,10 @@
-<%@ page contentType="text/html; charset=UTF-8" %>
-<%@ taglib prefix="ww" uri="/webwork" %>
-
+<%@ taglib prefix="s" uri="/tags" %>
 <html>
 <head>
     <title>Hello</title>
 </head>
 
 <body>
-<h2><ww:text name="hello.nessage"/></h2>
+<h2><s:text name="hello.message"/></h2>
 </body>
 </html>

Modified: struts/sandbox/trunk/mailreader-course/struts2/retain/src/webapp/pages/Welcome.jsp
URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/mailreader-course/struts2/retain/src/webapp/pages/Welcome.jsp?rev=431109&r1=431108&r2=431109&view=diff
==============================================================================
--- struts/sandbox/trunk/mailreader-course/struts2/retain/src/webapp/pages/Welcome.jsp (original)
+++ struts/sandbox/trunk/mailreader-course/struts2/retain/src/webapp/pages/Welcome.jsp Sat Aug 12 16:00:36 2006
@@ -1,4 +1,4 @@
-<%@ taglib uri="/webwork" prefix="ww" %>
+<%@ taglib prefix="s" uri="/tags" %>
 <html>
 <head>
     <title>MailReader</title>
@@ -8,15 +8,15 @@
 <h3>MailReader Options</h3>
 
 <ul>
-    <li><a href="<ww:url action="Missing"/>">Register with MailReader</a></li>
-    <li><a href="<ww:url action="Missing"/>">Log into MailReader</a></li>
+    <li><a href="<s:url action="Missing"/>">Register with MailReader</a></li>
+    <li><a href="<s:url action="Missing"/>">Log into MailReader</a></li>
 </ul>
 
 <h3>Language Options</h3>
 <ul>
-    <li><a href="<ww:url action="Missing"/>">English</a></li>
-    <li><a href="<ww:url action="Missing"/>">Japanese</a></li>
-    <li><a href="<ww:url action="Missing"/>">Russian</a></li>
+    <li><a href="<s:url action="Missing"/>">English</a></li>
+    <li><a href="<s:url action="Missing"/>">Japanese</a></li>
+    <li><a href="<s:url action="Missing"/>">Russian</a></li>
 </ul>
 
 </body>