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/07/14 22:59:24 UTC

svn commit: r422040 - in /struts/site/src/site: fml/roadmap.fml xdoc/index.xml

Author: husted
Date: Fri Jul 14 13:59:23 2006
New Revision: 422040

URL: http://svn.apache.org/viewvc?rev=422040&view=rev
Log:
SITE-8 Tweaks

Modified:
    struts/site/src/site/fml/roadmap.fml
    struts/site/src/site/xdoc/index.xml

Modified: struts/site/src/site/fml/roadmap.fml
URL: http://svn.apache.org/viewvc/struts/site/src/site/fml/roadmap.fml?rev=422040&r1=422039&r2=422040&view=diff
==============================================================================
--- struts/site/src/site/fml/roadmap.fml (original)
+++ struts/site/src/site/fml/roadmap.fml Fri Jul 14 13:59:23 2006
@@ -219,56 +219,56 @@
                   Some key changes from Struts 1 are:
                </p>
 
-        	<ul>
-        	  <li>
-        	    Improved design - All Struts 2 classes are based on interfaces. 
-        	    Core interfaces are HTTP independant.
-        	  </li>
-        	  <li>
-        	    Easy-to-test Actions - Struts 2 Actions are HTTP independant and 
-        	    can be tested without resorting to mocks.
-        	  </li>
-        	  <li>
-        	    Easy-to-customize controller - Struts 1 lets you customize the 
-        	    request processor per module, Struts 2 lets you customize the request 
-        	    handling <em>per action,</em> if you like.
-        	  </li>
-	  <li>
-	    Easy-to-customize tags - Struts 2 tags can be customized by 
-        	    changing an underlying stylesheet. Individual tags can be customized by 
-	    editing a FreeMarker template. No need to grok the taglib API! Both JSP 
-	    and FreeMarker tags are fully supported.
-	  </li>
-        	  <li>
-        	    No Cancel quirks - The Struts 2 Cancel button can go directly to a 
-        	    different action. 
-        	  </li>
-        	  <li>
-        	     Intelligent Defaults - Most configuration elements have a default 
-        	     value that you can set and forget.
-        	  </li>
-        	  <li>
-        	     POJO forms - No more ActionForms! Use any JavaBean you like or put 
-        	     properties directly on your Action. No need to use all String 
-        	     properties!
-        	  </li>
-        	  <li>
-        	     POJO Actions - Any class can be used as an Action class. You don't 
-        	     even have to implement an interface!
-        	  </li>
-        	  <li>
-        	     Enhanced Results - Unlike ActionForwards, Struts 2 Results can 
-        	     actually help prepare the response.
-        	  </li>
-        	  <li>
-        	     Better AJAX support - The AJAX theme gives your interactive 
-        	     applications a boost.
-        	  </li> 
-        	  <li>
-        	     QuickStart - Many changes can be made on the fly without 
-        	     restarting a web container.
-        	  </li>
-        	</ul>        
+            <ul>
+              <li>
+                Improved design - All Struts 2 classes are based on interfaces. 
+                Core interfaces are HTTP independant.
+              </li>
+              <li>
+                Easy-to-test Actions - Struts 2 Actions are HTTP independant and 
+                can be tested without resorting to mocks.
+              </li>
+              <li>
+                Easy-to-customize controller - Struts 1 lets you customize the 
+                request processor per module, Struts 2 lets you customize the request 
+                handling <em>per action,</em> if you like.
+              </li>
+      <li>
+        Easy-to-customize tags - Struts 2 tags can be customized by 
+                changing an underlying stylesheet. Individual tags can be customized by 
+        editing a FreeMarker template. No need to grok the taglib API! Both JSP 
+        and FreeMarker tags are fully supported.
+      </li>
+              <li>
+                No Cancel quirks - The Struts 2 Cancel button can go directly to a 
+                different action. 
+              </li>
+              <li>
+                 Intelligent Defaults - Most configuration elements have a default 
+                 value that you can set and forget.
+              </li>
+              <li>
+                 POJO forms - No more ActionForms! Use any JavaBean you like or put 
+                 properties directly on your Action. No need to use all String 
+                 properties!
+              </li>
+              <li>
+                 POJO Actions - Any class can be used as an Action class. You don't 
+                 even have to implement an interface!
+              </li>
+              <li>
+                 Enhanced Results - Unlike ActionForwards, Struts 2 Results can 
+                 actually help prepare the response.
+              </li>
+              <li>
+                 Better AJAX support - The AJAX theme gives your interactive 
+                 applications a boost.
+              </li> 
+              <li>
+                 QuickStart - Many changes can be made on the fly without 
+                 restarting a web container.
+              </li>
+            </ul>        
             </answer>
         </faq>
 
@@ -360,7 +360,7 @@
                    choice of frameworks, 
                    this might be a good time to consider whether you would like to 
                    continue to use Struts 1 or <a href="#choice">
-                   whether it's time to try something else.</a> 
+                   whether it's time to try Struts 2.</a> 
                 </p>            
             </answer>          
          </faq>

Modified: struts/site/src/site/xdoc/index.xml
URL: http://svn.apache.org/viewvc/struts/site/src/site/xdoc/index.xml?rev=422040&r1=422039&r2=422040&view=diff
==============================================================================
--- struts/site/src/site/xdoc/index.xml (original)
+++ struts/site/src/site/xdoc/index.xml Fri Jul 14 13:59:23 2006
@@ -41,45 +41,43 @@
             </p>
 
             <p>
-            	 Web applications based on JavaServer Pages sometimes 
-            	 commingle database code, page design code, and control 
-            	 flow code.
-            	 In practice, we find that unless these concerns are 
-            	 separated, 
-            	 larger applications become difficult to maintain. 
+                 Web applications based on JavaServer Pages sometimes 
+                 commingle database code, page design code, and control 
+                 flow code.
+                 In practice, we find that unless these concerns are 
+                 separated, 
+                 larger applications become difficult to maintain. 
             </p>
 
             <p>
-            	 One way to separate concerns in a software application is to 
-            	 use a Model-View-Controller (MVC) architecture.
-            	 The <em>Model</em> represents the business or database code, 
-            	 the <em>View</em> represents the page design code, 
-            	 and the <em>Controller</em> represents the navigational code. 
-            	 The Struts framework is designed to help developers create 
-            	 web applications that utilize a MVC architecture. 
-						</p>
+                 One way to separate concerns in a software application is to 
+                 use a Model-View-Controller (MVC) architecture.
+                 The <em>Model</em> represents the business or database code, 
+                 the <em>View</em> represents the page design code, 
+                 and the <em>Controller</em> represents the navigational code. 
+                 The Struts framework is designed to help developers create 
+                 web applications that utilize a MVC architecture. 
+                        </p>
 
             <p>
-						   The framework provides three key components:
-						</p>
-						 
-						<ul>
-						<li>
-							An extensible "front controller" that dispatches requests to  
-							an "action" handler provided by the application developer. 
-						</li>
-						<li>
-						  A location handler that transfers control to another resource 
-						  that completes the response.
-						</li>
-						<li>
-						   A tag library that helps developers create interactive 
-						   form-based applications.
-						</li>
-						</ul>
-						
-						<p/><p/><p/>
-
+                           The framework provides three key components:
+                        </p>
+                         
+                        <ul>
+                        <li>
+                            An extensible "front controller" that dispatches requests to  
+                            an "action" handler provided by the application developer. 
+                        </li>
+                        <li>
+                          A location handler that transfers control to another resource 
+                          that completes the response.
+                        </li>
+                        <li>
+                           A tag library that helps developers create interactive 
+                           form-based applications.
+                        </li>
+                        </ul>
+                        
             <p>
                 The framework's architecture and tags are buzzword compliant. 
                 Struts works well with conventional REST applications
@@ -116,7 +114,8 @@
 
                 The Apache Sruts Project offers two major versions of the 
                 Struts framework. 
-                <a href="1.x/index.html">Struts 1</a> is recognized as 
+                <a href="http://struts.apache.org/1.x/index.html">Struts 1</a> 
+                is recognized as 
                 <em>the</em> most popular web application framework for Java. 
                 The 1.x framework is mature, well-documented, and widely 
                 supported. 
@@ -125,9 +124,8 @@
             </p>
                         
             <p>
-                <a href="2.0/index.html">Struts 2</a> is a ground-up 
-                rewrite of the original action-centric framework.
-                Struts 2 was originally known as 
+                <a href="http://struts.apache.org/2.0/index.html">Struts 2</a> 
+                was originally known as 
                 <a href="http://www.opensymphony.com/webwork">WebWork 2</a>. 
                 After working independently for several years, 
                 the WebWork and Struts communities