This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/struts-site.git
commit d4be5f599e405ef1a67b882889331a32f8878f3b Author: Lukasz Lenart <lukaszlen...@apache.org> AuthorDate: Wed Nov 15 08:47:13 2017 +0100 Fixes references to example projects --- source/getting-started/annotations.md | 2 +- source/getting-started/coding-actions.md | 4 +++- source/getting-started/control-tags.md | 2 +- source/getting-started/debugging-struts.md | 2 +- source/getting-started/exception-handling.md | 2 +- source/getting-started/exclude-parameters.md | 2 +- source/getting-started/form-tags.md | 2 +- .../getting-started/form-validation-using-xml.md | 2 +- source/getting-started/form-validation.md | 2 +- .../getting-started/hello-world-using-struts2.md | 2 ++ .../how-to-create-a-struts2-web-application.md | 25 ++++++++-------------- source/getting-started/http-session.md | 2 +- source/getting-started/message-resource-files.md | 2 +- source/getting-started/preperable-interface.md | 2 +- source/getting-started/processing-forms.md | 4 ++-- source/getting-started/spring.md | 2 +- source/getting-started/unit-testing.md | 2 +- source/getting-started/using-tags.md | 2 +- .../getting-started/wildcard-method-selection.md | 2 +- 19 files changed, 31 insertions(+), 34 deletions(-) diff --git a/source/getting-started/annotations.md b/source/getting-started/annotations.md index e60dd46..fa74e75 100644 --- a/source/getting-started/annotations.md +++ b/source/getting-started/annotations.md @@ -12,7 +12,7 @@ parent: * Will be replaced with the ToC, excluding a header {:toc} -The example code for this tutorial, annotations, is available for checkout at [struts-examples](https://github.com/apache/struts-examples) +The example code for this tutorial, **annotations**, is available for checkout at [struts-examples](https://github.com/apache/struts-examples) ## Introduction diff --git a/source/getting-started/coding-actions.md b/source/getting-started/coding-actions.md index ccc83ea..b10616f 100644 --- a/source/getting-started/coding-actions.md +++ b/source/getting-started/coding-actions.md @@ -12,7 +12,9 @@ parent: * Will be replaced with the ToC, excluding a header {:toc} -This tutorial assumes you've completed the [Using Struts 2 Tags](using-tags.html) tutorial and have a working using-tags project. The example code for this tutorial, coding-actions, is available for checkout from the Struts 2 GitHub repository: [https://github.com/apache/struts-examples](https://github.com/apache/struts-examples). +This tutorial assumes you've completed the [Using Struts 2 Tags](using-tags.html) tutorial and have a working **using-tags** +project. The example code for this tutorial, **coding-actions**, is available for checkout from the Struts 2 GitHub repository +[struts-examples](https://github.com/apache/struts-examples). ## Introduction diff --git a/source/getting-started/control-tags.md b/source/getting-started/control-tags.md index f33a799..e3a75a7 100644 --- a/source/getting-started/control-tags.md +++ b/source/getting-started/control-tags.md @@ -12,7 +12,7 @@ parent: * Will be replaced with the ToC, excluding a header {:toc} -The example code for this tutorial, control_tags, is available at [https://github.com/apache/struts-examples](https://github.com/apache/struts-examples) +The example code for this tutorial, **control-tags**, is available at [struts-examples](https://github.com/apache/struts-examples) ## Introduction diff --git a/source/getting-started/debugging-struts.md b/source/getting-started/debugging-struts.md index 6526e86..fdaa75b 100644 --- a/source/getting-started/debugging-struts.md +++ b/source/getting-started/debugging-struts.md @@ -12,7 +12,7 @@ parent: * Will be replaced with the ToC, excluding a header {:toc} -The example code for this tutorial, **debugging_struts**, is available for checkout at [struts-examples](https://github.com/apache/struts-examples). +The example code for this tutorial, **debugging-struts**, is available for checkout at [struts-examples](https://github.com/apache/struts-examples). ## Introduction diff --git a/source/getting-started/exception-handling.md b/source/getting-started/exception-handling.md index 41292ee..30c9416 100644 --- a/source/getting-started/exception-handling.md +++ b/source/getting-started/exception-handling.md @@ -12,7 +12,7 @@ parent: * Will be replaced with the ToC, excluding a header {:toc} -The code for this tutorial, exception_handling, is available for checkout at [https://github.com/apache/struts-examples](https://github.com/apache/struts-examples). +The code for this tutorial, **exception-handling**, is available for checkout at [struts-examples](https://github.com/apache/struts-examples). ## Introduction diff --git a/source/getting-started/exclude-parameters.md b/source/getting-started/exclude-parameters.md index ce9c60b..1e54fee 100644 --- a/source/getting-started/exclude-parameters.md +++ b/source/getting-started/exclude-parameters.md @@ -12,7 +12,7 @@ parent: * Will be replaced with the ToC, excluding a header {:toc} -The example code for this tutorial, **exclude_parameters**, is available at [struts-examples](https://github.com/apache/struts-examples). +The example code for this tutorial, **exclude-parameters**, is available at [struts-examples](https://github.com/apache/struts-examples). ## Introduction diff --git a/source/getting-started/form-tags.md b/source/getting-started/form-tags.md index 8888ad8..b0d3aaf 100644 --- a/source/getting-started/form-tags.md +++ b/source/getting-started/form-tags.md @@ -12,7 +12,7 @@ parent: * Will be replaced with the ToC, excluding a header {:toc} -The example code for this tutorial, form_tags, can be checked out from [https://github.com/apache/struts-examples](https://github.com/apache/struts-examples). +The example code for this tutorial, **form-tags**, can be checked out from [struts-examples](https://github.com/apache/struts-examples). ## Introduction diff --git a/source/getting-started/form-validation-using-xml.md b/source/getting-started/form-validation-using-xml.md index 268bfe8..64d0eb1 100644 --- a/source/getting-started/form-validation-using-xml.md +++ b/source/getting-started/form-validation-using-xml.md @@ -12,7 +12,7 @@ parent: * Will be replaced with the ToC, excluding a header {:toc} -The example code for this tutorial, form_xml_validation, is available for checkout at [https://github.com/apache/struts-examples](https://github.com/apache/struts-examples) +The example code for this tutorial, **form-xml-validation**, is available for checkout at [struts-examples](https://github.com/apache/struts-examples) ## Introduction diff --git a/source/getting-started/form-validation.md b/source/getting-started/form-validation.md index e483728..871c170 100644 --- a/source/getting-started/form-validation.md +++ b/source/getting-started/form-validation.md @@ -13,7 +13,7 @@ parent: {:toc} This tutorial assumes you've completed the [Processing Forms](processing-forms.html) tutorial and have a working -**form_processing** project. The example code for this tutorial, **form_validation**, is available for checkout from +**form-processing** project. The example code for this tutorial, **form-validation**, is available for checkout from the Struts 2 GitHub repository [struts-examples](https://github.com/apache/struts-examples). ## Introduction diff --git a/source/getting-started/hello-world-using-struts2.md b/source/getting-started/hello-world-using-struts2.md index aa4867e..74bde20 100644 --- a/source/getting-started/hello-world-using-struts2.md +++ b/source/getting-started/hello-world-using-struts2.md @@ -12,6 +12,8 @@ parent: * Will be replaced with the ToC, excluding a header {:toc} +## Description + When you click on a hyperlink or submit an HTML form in a Struts 2 web application, the input is not sent to another server page, but to a Java class that you provide. These classes are called Actions. After the Action fires, a Result selects a resource to render the response. The resource is generally a server page, but it can also be a PDF file, diff --git a/source/getting-started/how-to-create-a-struts2-web-application.md b/source/getting-started/how-to-create-a-struts2-web-application.md index bb48478..e3a6640 100644 --- a/source/getting-started/how-to-create-a-struts2-web-application.md +++ b/source/getting-started/how-to-create-a-struts2-web-application.md @@ -14,30 +14,23 @@ parent: This tutorial walks through installing the framework and creating a simple application. -<div class="alert alert-block alert-error"> - While the Struts 2 framework is simple to use, creating non-trivial applications assumes a working knowledge of many J2EE technologies, including: - <ul> - <li>Java</li> - <li>Filters, JSP, and Tag Libraries</li> - <li>JavaBeans</li> - <li>HTML and HTTP</li> - <li>Web Containers (such as Tomcat)</li> - <li>XML</li> - </ul> - -</div> + - Java + - Filters, JSP, and Tag Libraries + - JavaBeans + - HTML and HTTP + - Web Containers (such as Tomcat) + - XML -<i class="glyphicon glyphicon-info-sign alert-info" aria-hidden="true"></i> For more about supporting technologies, -see the [Key Technologies Primer](/primer.html). +> For more about supporting technologies, see the [Key Technologies Primer](../primer.html). -### Java Requirements +## Java Requirements Struts 2 requires Servlet API 2.4 or higher, JSP 2.0 or higher, and Java 7 or higher. -### Our First Application +## Our First Application To get started using Struts 2 we will create a web application using Maven to manage the artifact dependencies. You can checkout all the example applications from the Struts 2 GitHub repository diff --git a/source/getting-started/http-session.md b/source/getting-started/http-session.md index c710db8..bc7419a 100644 --- a/source/getting-started/http-session.md +++ b/source/getting-started/http-session.md @@ -12,7 +12,7 @@ parent: * Will be replaced with the ToC, excluding a header {:toc} -The example code for this tutorial, http_session, is available at [https://github.com/apache/struts-examples]. +The example code for this tutorial, **http-session**, is available at [struts-examples](https://github.com/apache/struts-examples). ## Introduction diff --git a/source/getting-started/message-resource-files.md b/source/getting-started/message-resource-files.md index fc798c5..8443811 100644 --- a/source/getting-started/message-resource-files.md +++ b/source/getting-started/message-resource-files.md @@ -13,7 +13,7 @@ parent: {:toc} This tutorial assumes you've completed the [Form Validation](form-validation.html) tutorial and have a working -**form_validation** project. The example code for this tutorial, **message_resource**, is available for checkout from the +**form-validation** project. The example code for this tutorial, **message-resource**, is available for checkout from the Struts 2 GitHub repository at [struts-examples](https://github.com/apache/struts-examples). ## Introduction diff --git a/source/getting-started/preperable-interface.md b/source/getting-started/preperable-interface.md index 13fb079..4649d37 100644 --- a/source/getting-started/preperable-interface.md +++ b/source/getting-started/preperable-interface.md @@ -12,7 +12,7 @@ parent: * Will be replaced with the ToC, excluding a header {:toc} -The example code for this tutorial, **preparable_interface**, is available at [struts-examples](https://github.com/apache/struts-examples). +The example code for this tutorial, **preparable-interface**, is available at [struts-examples](https://github.com/apache/struts-examples). ## Introduction diff --git a/source/getting-started/processing-forms.md b/source/getting-started/processing-forms.md index b81c452..36fcb3c 100644 --- a/source/getting-started/processing-forms.md +++ b/source/getting-started/processing-forms.md @@ -13,8 +13,8 @@ parent: {:toc} This tutorial assumes you've completed the [Coding Struts 2 Actions](coding-actions.html) tutorial and have a working -coding-actions project. The example code for this tutorial, form-processing, is available for checkout from -the Struts 2 GitHub subversion repository: [https://github.com/apache/struts-examples](https://github.com/apache/struts-examples). +**coding-actions** project. The example code for this tutorial, **form-processing**, is available for checkout from +the Struts 2 GitHub repository [struts-examples](https://github.com/apache/struts-examples). ## Introduction diff --git a/source/getting-started/spring.md b/source/getting-started/spring.md index 4e535d1..77d7b7b 100644 --- a/source/getting-started/spring.md +++ b/source/getting-started/spring.md @@ -12,7 +12,7 @@ parent: * Will be replaced with the ToC, excluding a header {:toc} -The example code for this tutorial, **spring_struts**, is available for checkout at [struts-examples](https://github.com/apache/struts-examples) +The example code for this tutorial, **spring-struts**, is available for checkout at [struts-examples](https://github.com/apache/struts-examples) ## Introduction diff --git a/source/getting-started/unit-testing.md b/source/getting-started/unit-testing.md index d1ed92e..b7f0221 100644 --- a/source/getting-started/unit-testing.md +++ b/source/getting-started/unit-testing.md @@ -12,7 +12,7 @@ parent: * Will be replaced with the ToC, excluding a header {:toc} -The example code for this tutorial, **unit_testing**, is available at [struts-examples](https://github.com/apache/struts-examples) +The example code for this tutorial, **unit-testing**, is available at [struts-examples](https://github.com/apache/struts-examples) ## Introduction diff --git a/source/getting-started/using-tags.md b/source/getting-started/using-tags.md index 3928905..b2ce5f4 100644 --- a/source/getting-started/using-tags.md +++ b/source/getting-started/using-tags.md @@ -13,7 +13,7 @@ parent: {:toc} This tutorial assumes you've completed the [Hello World](hello-world-using-struts2.html) tutorial and have a working -helloworld project. The example code for this tutorial, **using_tags**, is available for checkout from the Struts 2 GitHub +**helloworld** project. The example code for this tutorial, **using-tags**, is available for checkout from the Struts 2 GitHub repository at [struts-examples](https://github.com/apache/struts-examples). The example projects use Maven to manage the artifact dependencies and to build the .war files. diff --git a/source/getting-started/wildcard-method-selection.md b/source/getting-started/wildcard-method-selection.md index 841a4c7..7d483c3 100644 --- a/source/getting-started/wildcard-method-selection.md +++ b/source/getting-started/wildcard-method-selection.md @@ -12,7 +12,7 @@ parent: * Will be replaced with the ToC, excluding a header {:toc} -The example code for this tutorial, wildcard_method_selection, is available for checkout at [https://github.com/apache/struts-examples](https://github.com/apache/struts-examples) +The example code for this tutorial, **wildcard-method-selection**, is available for checkout at [struts-examples](https://github.com/apache/struts-examples) ## Introduction -- To stop receiving notification emails like this one, please contact "commits@struts.apache.org" <commits@struts.apache.org>.