alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  
</table> </section> <section name="Build! Deploy! Maintain!"> <ul> <li> <em>Build! <ul> <li> <strong>Easy startup - Jumpstart new projects with our bootstrap tutorial and template application or Maven archetype. </li> <li> <strong>Improved Design - Code clean against HTTP-independant framework interfaces. </li> <li> <strong>Enhanced Tags - Code less with stylesheet-driven form tags that provide their own markup. </li> <li> <strong>Stateful Checkboxes - Avoid special handling with smart checkboxes that know when they are toggled. </li> <li> <strong>Flexible Cancel Buttons - Go directly to a different action on cancel. </li> <li> <strong>First-class AJAX support - Add interactivity and flexibility with AJAX tags that look and feel just like standard Struts tags. </li> <li> <strong>Easy Spring integration - Inject dependencies into Actions using Spring without glue code or red tape. (Plexus support also available.) </li> <li> <strong>Enhanced Results - Do more with speciality results for JasperReports, JFreeChart, Action chaining, and file downloading. </li> <li> <strong>POJO forms - No more ActionForms! Use any JavaBean to capture form input or put properties directly on an Action class. Use both binary and String properties! </li> <li> <strong>POJO Actions - Use any class as an Action class -- even the interface is optional! </li> <!-- Experimental <li> strong>Zero Configuration</strong> - Optionally, replace XML configuration with convention and annotation. </li> --> </ul> <li> <em>Deploy! <ul> <li> <strong>Easy plugins - Add framework extensions by dropping in a JAR. No manual configuration required! Bundled plugins add support for JavaServer Faces, JasperReports, JFreeChart, Tiles, and more ... </li> <li> <strong>Integrated profiling - Peek inside Struts2 to find where the cycles are going! </li> <li> <strong>Precise Error Reporting - Flip directly to the location and line of an error. </li> <!-- Experimental <li> <strong>Easy portlets - Automatic portlet support allows portal and servlet deployments with no code changes. </li> <li> <strong>REST-ful URLs - Use search-engine friendly URLs, like category/action/movie/Thrillers. </li> --> </ul> <li> <em>Maintain! <ul> <li> <strong>Easy-to-test Actions - Test Struts2 Actions directly, without resorting to mock HTTP objects. </li> <li> <strong>Intelligent Defaults - Skip obvious and redundant settings. Most framework configuration elements have a default value that we can set and forget. Say it once! </li> <li> <strong>Easy-to-customize controller - Customize the request handling per action, if desired. Struts<sup>2 only does what you want it to do! </li> <li> <strong>Integrating Debugging - Research problem reports with built-in debugging tools. </li> <li> <strong>Easy-to-tweak tags - Customize tag markup by editing a FreeMarker template. No need to grok the taglib API! <em>JSP, FreeMarker, and Velocity tags are fully supported. </li> </ul> <subsection> <p> To download the framework, visit <a href="http://struts.apache.org/download.cgi#struts210"> Apache Struts Distributions. </a> For more about Apache Struts 2, visit <a href="docs/home.html"> Getting Started. </a> For more about framework extensions, visit the <a href="http://cwiki.apache.org/S2PLUGINS/home.html"> Struts 2 Plugin Registry. </a> For help with migrating, visit our <a href="docs/migration-guide.html"> Migration Guide. </a> </p> </subsection> </section> <section name="Platform Requirements"> <p> Apache Struts 2 requires: </p> <ul> <li>Servlet API 2.4 <li>JSP API 2.0 <li>Java 5 </ul> <p> An alternate set of JARs for Java 4 are also available. See the "J4" distribution. </p> <p> For a full list of requirements, including dependencies used by optional plugins, see <a href="struts2-core/dependencies.html">Project Dependencies </p> </section> <section name="Licensing of Apache Struts Distributions"> <p> Apache Struts 2 source code and documentation is licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file included in distribution for additional information regarding copyright ownership. The ASF licenses the source code and documentation files in our Apache Struts distribution to you under the Apache License, Version 2.0 (the "License"); you may not use the Apache Struts product except in compliance with the License. </p> <p> You may obtain a copy of the License at <a href="http://www.apache.org/licenses/LICENSE-2.0"> http://www.apache.org/licenses/LICENSE-2.0</a>. </p> <p> Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. </p> </section> </body> </document>

Other Struts examples (source code examples)

Here is a short list of links related to this Struts index.xml.vm source code file:

Struts example source code file (index.xml.vm)

This example Struts source code file (index.xml.vm) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Struts tags/keywords

actions, actions, apache, apache, api, for, license, license, no, see, struts, struts, use, webwork

The Struts index.xml.vm source code

<?xml version="1.0"?>
<!--
/*
 * $Id: index.xml.vm 730440 2008-12-31 18:33:08Z musachy $
 *
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *  http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
-->
<!--
// ======================================================================== 78
-->
<document>

    <properties>
        <title>Welcome
    </properties>

    <body>

        <section name="About Apache Struts 2">
            <a name="Welcome"/>

        <div style="text-align:left;height:200px">
            <div style="float:left;margin-left:16px;margin-right:16px">
                <a href="docs/home.html">Struts 2 and WebWork merger
            </div>

        <p>
         <strong>Apache Struts 2 is an elegant, extensible framework for creating enterprise-ready Java web applications.
         The framework is designed to streamline the full development cycle,
         from building, to deploying, to maintaining applications over time.
        </p>

        <p>
         Apache Struts 2 was originally known as WebWork 2.
         After working independently for several years,
         the WebWork and Struts communities joined forces to create Struts<sup>2.
         This new version of Struts is simpler to use and
         closer to how Struts was always meant to be.
        </p>
        </div>
        <div>
        <table>
#set($aname=$currentVersion.replaceAll('\.', "")) <a href="http://struts.apache.org/download.cgi#struts${aname}"> <div style="background:url(images/download.gif) no-repeat scroll 0%; width:200px; height:80px; float:left;position:relative;margin:5px"> <span style="top:15px;position:absolute;color:white;padding-left:10px"> <small>version ${currentVersion} <br /> <span style="font-weight: bold; font-size:140%">Download Now </span> </div> </a> </td> <a href="docs/home.html" style="margin:10px"> <div style="background:url(images/help.gif) no-repeat scroll 0%; width:200px; height:80px; float:left;position:relative;margin:5px"> <span style="top:15px;position:absolute;color:white;padding-left:10px"> <span style="font-weight: bold; font-size:140%">Get Started </span> </div> </a> </td> <a href="http://cwiki.apache.org/S2PLUGINS/home.html" style="margin:10px"> <div style="background:url(images/plugins.gif) no-repeat scroll 0%; width:200px; height:80px; float:left;position:relative;margin:5px"> <span style="top:15px;position:absolute;color:white;padding-left:10px"> <span style="font-weight: bold; font-size:140%">Plugin Registry </span> </div> </a> </td>
... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.