svn commit: r944292 - in /websites/production/struts/content/docs: create-struts-2-web-application-using-maven-to-manage-artifacts-and-to-build-the-application.html json-plugin.html migration-guide.ht
Author: lukaszlenart Date: Thu Mar 19 06:00:40 2015 New Revision: 944292 Log: Updates production Added: websites/production/struts/content/docs/version-notes-2322.html Modified: websites/production/struts/content/docs/create-struts-2-web-application-using-maven-to-manage-artifacts-and-to-build-the-application.html websites/production/struts/content/docs/json-plugin.html websites/production/struts/content/docs/migration-guide.html Modified: websites/production/struts/content/docs/create-struts-2-web-application-using-maven-to-manage-artifacts-and-to-build-the-application.html == --- websites/production/struts/content/docs/create-struts-2-web-application-using-maven-to-manage-artifacts-and-to-build-the-application.html (original) +++ websites/production/struts/content/docs/create-struts-2-web-application-using-maven-to-manage-artifacts-and-to-build-the-application.html Thu Mar 19 06:00:40 2015 @@ -138,7 +138,7 @@ under the License. -You can checkout this complete example project (and all the other Getting Started tutorial example projects) from the Struts 2 GitHub repository at https://github.com/apache/struts-examples"; rel="nofollow">https://github.com/apache/struts-examples. The example projects use Maven to manage the artifact dependencies and to build the .war files. +You can checkout this complete example project (and all the other Getting Started tutorial example projects) from the Struts 2 GitHub repository at https://github.com/apache/struts-examples"; rel="nofollow">https://github.com/apache/struts-examples. The example projects use Maven to manage the artifact dependencies and to build the .war files. Icon This tutorial assumes you know how to create a Java web application that uses Maven to manage artifacts and build the web application archive (war) file. Modified: websites/production/struts/content/docs/json-plugin.html == --- websites/production/struts/content/docs/json-plugin.html (original) +++ websites/production/struts/content/docs/json-plugin.html Thu Mar 19 06:00:40 2015 @@ -441,6 +441,8 @@ public class JSONExample extends ActionS "newName": "custom" } ]]> +Accepting JSONYour actions can accept incoming JSON if they are in package which uses json interceptor or by adding reference to it as follow: + JSON RPCThe json plugin can be used to execute action methods from javascript and return the output. This feature was developed with Dojo in mind, so it uses http://manual.dojotoolkit.org/WikiHome/DojoDotBook/Book9"; rel="nofollow">Simple Method Definition to advertise the remote service. Let's work it out with an example(useless as most examples).First write the action:-Getting here from there.
Version Notes 2.3.x
- Version Notes 2.3.20
- Version Notes 2.3.16.3
- Version Notes 2.3.16.2
- Version Notes 2.3.16.1
- Version Notes 2.3.16
- Version Notes 2.3.15.3
- Version Notes 2.3.15.2
- Version Notes 2.3.15.1
- Version Notes 2.3.15
- Version Notes 2.3.14.3
- Version Notes 2.3.14.2
- Version Notes 2.3.14.1
- Version Notes 2.3.14
- Version Notes 2.3.12.0
- Version Notes 2.3.8
- Version Notes 2.3.7
- Version Not
struts git commit: [maven-release-plugin] prepare for next development iteration
Repository: struts Updated Branches: refs/heads/release/2.3.22 22573f8de -> 3e23f2191 [maven-release-plugin] prepare for next development iteration Project: http://git-wip-us.apache.org/repos/asf/struts/repo Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/3e23f219 Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/3e23f219 Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/3e23f219 Branch: refs/heads/release/2.3.22 Commit: 3e23f2191ec2a9c16a5b77bf6a1c1c1dd589ddd4 Parents: 22573f8 Author: Lukasz Lenart Authored: Thu Mar 19 07:11:27 2015 +0100 Committer: Lukasz Lenart Committed: Thu Mar 19 07:11:27 2015 +0100 -- apps/blank/pom.xml | 2 +- apps/jboss-blank/pom.xml| 2 +- apps/mailreader/pom.xml | 2 +- apps/pom.xml| 2 +- apps/portlet/pom.xml| 2 +- apps/rest-showcase/pom.xml | 4 ++-- apps/showcase/pom.xml | 2 +- archetypes/pom.xml | 2 +- archetypes/struts2-archetype-angularjs/pom.xml | 2 +- archetypes/struts2-archetype-blank/pom.xml | 2 +- archetypes/struts2-archetype-convention/pom.xml | 2 +- archetypes/struts2-archetype-dbportlet/pom.xml | 2 +- archetypes/struts2-archetype-plugin/pom.xml | 2 +- archetypes/struts2-archetype-portlet/pom.xml| 2 +- archetypes/struts2-archetype-starter/pom.xml| 2 +- assembly/pom.xml| 2 +- bom/pom.xml | 8 ++-- bundles/admin/pom.xml | 2 +- bundles/demo/pom.xml| 2 +- bundles/pom.xml | 2 +- core/pom.xml| 2 +- plugins/cdi/pom.xml | 2 +- plugins/codebehind/pom.xml | 2 +- plugins/config-browser/pom.xml | 2 +- plugins/convention/pom.xml | 2 +- plugins/dojo/pom.xml| 2 +- plugins/dwr/pom.xml | 2 +- plugins/embeddedjsp/pom.xml | 2 +- plugins/gxp/pom.xml | 2 +- plugins/jasperreports/pom.xml | 2 +- plugins/java8-support/pom.xml | 2 +- plugins/javatemplates/pom.xml | 2 +- plugins/jfreechart/pom.xml | 2 +- plugins/jsf/pom.xml | 2 +- plugins/json/pom.xml| 2 +- plugins/junit/pom.xml | 2 +- plugins/osgi/pom.xml| 2 +- plugins/oval/pom.xml| 2 +- plugins/pell-multipart/pom.xml | 2 +- plugins/plexus/pom.xml | 2 +- plugins/pom.xml | 2 +- plugins/portlet-tiles/pom.xml | 2 +- plugins/portlet/pom.xml | 2 +- plugins/rest/pom.xml| 2 +- plugins/sitegraph/pom.xml | 2 +- plugins/sitemesh/pom.xml| 2 +- plugins/spring/pom.xml | 2 +- plugins/struts1/pom.xml | 2 +- plugins/testng/pom.xml | 2 +- plugins/tiles/pom.xml | 2 +- plugins/tiles3/pom.xml | 2 +- pom.xml | 4 ++-- xwork-core/pom.xml | 2 +- 53 files changed, 56 insertions(+), 60 deletions(-) -- http://git-wip-us.apache.org/repos/asf/struts/blob/3e23f219/apps/blank/pom.xml -- diff --git a/apps/blank/pom.xml b/apps/blank/pom.xml index 48df955..4c6c6f6 100644 --- a/apps/blank/pom.xml +++ b/apps/blank/pom.xml @@ -26,7 +26,7 @@ org.apache.struts struts2-apps -2.3.22 +2.3.23-SNAPSHOT struts2-blank http://git-wip-us.apache.org/repos/asf/struts/blob/3e23f219/apps/jboss-blank/pom.xml -- diff --git a/apps/jboss-blank/pom.xml b/apps/jboss-blank/pom.xml index 13d5cc2..4f9a353 100644 --- a/apps/jboss-blank/pom.xml +++ b/apps/jboss-blank/pom.xml @@ -26,7 +26,7 @@ org.apache.struts struts2-apps -2.3.22 +2.3.23-SNAPSHOT struts2-jboss-blank http://git-wip-us.apache.org/repos/asf/struts/blob/3e23f219/apps/mailreader/pom.xml -- diff --git a/apps/mailreader/pom.xml b/apps/mailreader/pom.xml index 47f0a0e..6081fae 100644 --- a/apps/mailreader/pom.xml +++ b/apps
struts git commit: [maven-release-plugin] prepare release STRUTS_2_3_22
Repository: struts Updated Branches: refs/heads/release/2.3.22 [created] 22573f8de [maven-release-plugin] prepare release STRUTS_2_3_22 Project: http://git-wip-us.apache.org/repos/asf/struts/repo Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/22573f8d Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/22573f8d Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/22573f8d Branch: refs/heads/release/2.3.22 Commit: 22573f8de8b33ead0fee88eb67817985464218bb Parents: 4f0f7d1 Author: Lukasz Lenart Authored: Thu Mar 19 07:11:15 2015 +0100 Committer: Lukasz Lenart Committed: Thu Mar 19 07:11:15 2015 +0100 -- apps/blank/pom.xml | 2 +- apps/jboss-blank/pom.xml| 2 +- apps/mailreader/pom.xml | 2 +- apps/pom.xml| 2 +- apps/portlet/pom.xml| 2 +- apps/rest-showcase/pom.xml | 4 ++-- apps/showcase/pom.xml | 2 +- archetypes/pom.xml | 2 +- archetypes/struts2-archetype-angularjs/pom.xml | 2 +- archetypes/struts2-archetype-blank/pom.xml | 2 +- archetypes/struts2-archetype-convention/pom.xml | 2 +- archetypes/struts2-archetype-dbportlet/pom.xml | 2 +- archetypes/struts2-archetype-plugin/pom.xml | 2 +- archetypes/struts2-archetype-portlet/pom.xml| 2 +- archetypes/struts2-archetype-starter/pom.xml| 2 +- assembly/pom.xml| 2 +- bom/pom.xml | 8 ++-- bundles/admin/pom.xml | 2 +- bundles/demo/pom.xml| 2 +- bundles/pom.xml | 2 +- core/pom.xml| 2 +- plugins/cdi/pom.xml | 2 +- plugins/codebehind/pom.xml | 2 +- plugins/config-browser/pom.xml | 2 +- plugins/convention/pom.xml | 2 +- plugins/dojo/pom.xml| 2 +- plugins/dwr/pom.xml | 2 +- plugins/embeddedjsp/pom.xml | 2 +- plugins/gxp/pom.xml | 2 +- plugins/jasperreports/pom.xml | 2 +- plugins/java8-support/pom.xml | 2 +- plugins/javatemplates/pom.xml | 2 +- plugins/jfreechart/pom.xml | 2 +- plugins/jsf/pom.xml | 2 +- plugins/json/pom.xml| 2 +- plugins/junit/pom.xml | 2 +- plugins/osgi/pom.xml| 2 +- plugins/oval/pom.xml| 2 +- plugins/pell-multipart/pom.xml | 2 +- plugins/plexus/pom.xml | 2 +- plugins/pom.xml | 2 +- plugins/portlet-tiles/pom.xml | 2 +- plugins/portlet/pom.xml | 2 +- plugins/rest/pom.xml| 2 +- plugins/sitegraph/pom.xml | 2 +- plugins/sitemesh/pom.xml| 2 +- plugins/spring/pom.xml | 2 +- plugins/struts1/pom.xml | 2 +- plugins/testng/pom.xml | 2 +- plugins/tiles/pom.xml | 2 +- plugins/tiles3/pom.xml | 2 +- pom.xml | 4 ++-- xwork-core/pom.xml | 2 +- 53 files changed, 60 insertions(+), 56 deletions(-) -- http://git-wip-us.apache.org/repos/asf/struts/blob/22573f8d/apps/blank/pom.xml -- diff --git a/apps/blank/pom.xml b/apps/blank/pom.xml index a8d1cf8..48df955 100644 --- a/apps/blank/pom.xml +++ b/apps/blank/pom.xml @@ -26,7 +26,7 @@ org.apache.struts struts2-apps -2.3.22-SNAPSHOT +2.3.22 struts2-blank http://git-wip-us.apache.org/repos/asf/struts/blob/22573f8d/apps/jboss-blank/pom.xml -- diff --git a/apps/jboss-blank/pom.xml b/apps/jboss-blank/pom.xml index e3da1b5..13d5cc2 100644 --- a/apps/jboss-blank/pom.xml +++ b/apps/jboss-blank/pom.xml @@ -26,7 +26,7 @@ org.apache.struts struts2-apps -2.3.22-SNAPSHOT +2.3.22 struts2-jboss-blank http://git-wip-us.apache.org/repos/asf/struts/blob/22573f8d/apps/mailreader/pom.xml -- diff --git a/apps/mailreader/pom.xml b/apps/mailreader/pom.xml index e239bdb..47f0a0e 100644 --- a/apps/mailreader/pom.xml +++ b/apps/mailreader/
Git Push Summary
Repository: struts Updated Tags: refs/tags/STRUTS_2_3_22 [created] 75bc08fa0